HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › Troubleshooting › Generated pdf with watermark file size is too big › Re: Re: Generated pdf with watermark file size is too big
April 11, 2017 at 14:22
#30022
It depends on the image type you use as a watermark.
GIFs or some species of PNG cannot be embedded to PDF “as is” and has to be converted to PDF native image format which is in fact a gzipped sequence of pixel color values. The PDF image format requires significantly more space for storing pictures (comparing to GIF, PNG etc).
Try to use JPEGs (even with high quality settings) as watermarks.