jetraw_tools.imwrite¶
- jetraw_tools.imwrite(output_tiff_filename, input_image, description='')[source]¶
Write numpy array to a JetRaw compressed TIFF file.
Refer to the TiffWriter class and its write function for more information.
- Parameters:
output_tiff_filename (str) – File name of output TIFF file to be written into disk
input_image (np.ndarray) – Input image buffer
description (str) – The subject of the image. Saved with the first page only
- Returns:
True if successful
- Return type:
bool
- Raises:
ValueError – If the input image is not contiguous