Re: Reducing PDF File Size

Lele Gaifax <[email protected]> Wed, 23 Mar 2022 08:13:50 +0100
Newsgroups gmane.comp.python.reportlab.user
Organization Nautilus Entertainments
Message-ID <[email protected]>
Joseph Dvorak <[email protected]> writes:

> I have a document with 4 pages, each having an image page .png background.
> [...]
>
> ReportLab generates a document file of 3.4 MB.
>
> How can I *significantly* reduce the size of the PDF file within ReportLab?

Try converting those PNGs to JPGs: AFAICT, PDF has a specialized reader for
JPGs, while other formats are stored in base64/base85.

ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
[email protected]  |                 -- Fortunato Depero, 1929.

_______________________________________________
reportlab-users mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/reportlab-users