[Gambas-user] How to reduce the size of PDFs generated with PDFSurface/Cairo
Claus Dietrich
claus.dietrich at freenet.de
Fri Sep 29 17:35:59 CEST 2023
Hi
I am using the Gambas PDFSurface and Cairo to generate and assemble
multi-page PDFs.
When I insert a jpg-image from my scanner (A4 size, 300dpi, 90% quality)
with a size of 730 kB the resulting single page PDF is blown up to a
size of 2.8 MB. A stripped down demo project is attached:
https://send.vis.ee/download/62247b9c0d0529a1/#JidKAJn64IdF4G1c-4B07A
Does anyone know a way to obtain a PDF file with a similar size (resp.
compression) like the source image by using native Gambas means
(=without installing tools like ImageMagick)?
Best regards
Claus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230929/d8fd85a0/attachment.htm>
More information about the User
mailing list