You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can the size of the image when converting to PDF be reduced #2531
For jpeg images, You can set img.dataMode = Image.MODE_MIME or Image.MODE_MIME/Image.MODE_IMAGE enables MIME data tracking of images.When MIME data is tracked, PDF canvases can embed JPEGs directly into the output, rather than re-encoding into PNG. This can drastically reduce filesize and speed up rendering.
For png images, I couldn't find any configurations that can optimize file size, and I analyzed that after embedding png images into PDFS, they should be compressed to FlateDecode
Can png be embedded in PDF using the DCTDecode compression method?
Activity