FCL-image feature request. Bypass 2 gbyte limit, read/write TIFF files with large dimensions like 30000x30000 pixels,
Summary
<I'm working on program extension to process scans of astronomical photographic image plates which produce very large monochrome TIFF files of close to 30000x30000 pixels in 16 bit grayscale. If each 16 bit pixel value is processed in fcl-image as 4 x 2 bytes per pixel then the unpacked size is larger then 2gbyte and loading or saving will fail.
The feature request is to allowing a greater then 2 gbyte limit for 64 bit systems or to write the code different that less memory is used for grayscale images. I assume 4x2 bytes are used for each gray scale pixel value of 16 bit. As a result I could read/write TIFF files with large dimensions up to 30000x30000 pixels in 16 bit grayscale. It is only requested to upgrade FCL-image for TIFF files in 16 bit grayscale. It is not required for TIFF colour images or PNG, JPEG. Note the TIFF is typically used for scanners. The other formats are not.>
System Information
<For all 64 bit systems-->
Example Project
<Run the attached demo program and try to load the included "test image 20601 x14787 pixels, 16 bit mono.tif". This will give an error. The smaller TIF files included will work. Same size limit problem when saving large TIFF file >
Relevant 3rd party information
< none> FCL_test_program_for_tif_files._Large_tif_file_included.zip