Dev Center
There are a few things that you can try to reduce the size of a resulting file
Scan in grayscale or black & white instead of RGB;
Convert the images to grayscale or black & white before the save or upload call. Read more here;
Scan in a lower resolution;
Convert the images to a lower resolution (DPI). Read more here;
[Optional] If the resulting file is in the JPEG format (.jpg) or is a TIF or PDF that is encoded by the JPEG standard, you can set JPEGQuality to a lower value.
Before setting the JPEGQuality, set the compression type to the JPEG standard as outlined below.
Before saving the file,
set the compression type to the JPEG standard: PDFCompressionType = 5 (PDF_JPEG) TIFFCompressionType = 7 (TIFF_JPEG)
set the JPEGQuality = [a lower value]
Note that black & white image cannot be saved in the JPEG format. To reduce the size, please convert the image to grayscale.
latest version