The UTIF.encodeImage method currently encodes TIFFs without any compression, leading to significantly larger output file sizes.
The library's documentation mentions support for Fax 4 (CCITT Group 4) compression. My goal is to encode a TIFF with CCITT Group 4 compression from image data (e.g., a PNG).
Could someone provide an example or guidance on how to correctly use UTIF.encodeImage to apply CCITT Group 4 compression? Specifically, how should the metadata and data be structured for this to work?
The UTIF.encodeImage method currently encodes TIFFs without any compression, leading to significantly larger output file sizes.
The library's documentation mentions support for Fax 4 (CCITT Group 4) compression. My goal is to encode a TIFF with CCITT Group 4 compression from image data (e.g., a PNG).
Could someone provide an example or guidance on how to correctly use UTIF.encodeImage to apply CCITT Group 4 compression? Specifically, how should the metadata and data be structured for this to work?