I'm testing TWAIN aquisition, and I'm running into a problem with the size of the PDF file when using SaveAsPDF.
When I select TwainPixelType TWPT_BW (Black&White) the size of a single coloured A4 is about 182 Kb, which is fine.
But, when I select TWPT_RGB, the size of the PDF is 2,6 Mb. This is way too big!
When I use my own scanner software from Epson (I have a Epson SX600FW), the filesize is only about 900Kb.
Here are some of the values I set:
AutoBrightness
BitDepth 8
Resolution 300
Is there any way I can decrease the size of the PDF? (Preferable without using the PDF plugin).
I'm using GdPicture.NET V9, 9.2.0.4.
Size of PDF when using SaveAsPDF
Re: Size of PDF when using SaveAsPDF
Hello,
The SaveAsPDF() uses JPEG compression for color image with a fixed quality of 90. To better control the compression algorithm you have to switch to the GdPicturePDF class.
Another option consists to scale down the image before saving it in order to reduce the amount data.
Kind regards,
Loïc
The SaveAsPDF() uses JPEG compression for color image with a fixed quality of 90. To better control the compression algorithm you have to switch to the GdPicturePDF class.
Another option consists to scale down the image before saving it in order to reduce the amount data.
Kind regards,
Loïc
Who is online
Users browsing this forum: No registered users and 1 guest