GIF to PDF quality: why one GIF stays exact and another changes
It depends on whether the GIF's first frame has any transparent pixels. If it does, the image is stored losslessly and stays see-through in the PDF, so on screen and on paper the transparent areas show the white of the page. Our transparent logo came back out of the PDF identical to the GIF, pixel for pixel.
A GIF with no transparent pixels is saved as a JPEG at 92% quality, even with “Original” selected. JPEG is made for photos; it copes less well with what GIFs usually contain: flat colors, thin lines and small lettering. In our white-background logo, 7.5% of the pixels changed by more than 8 out of 255 levels. Almost all of them sit in faint smudges around the colored parts: the small red lettering and the purple-and-yellow badge. The dark lettering of the same logo barely changed, and you only notice the smudges when you zoom in. Smaller logos suffer more: our 200-pixel version had 13.4% of its pixels changed. Black text on white fared best, with 0.1% in our table.
If a logo or a table must stay exact, convert the GIF with GIF to PNG first and add the PNG here instead. With “Original”, a PNG goes into the PDF without any loss: our logo and table came out with 0% of pixels changed, and the PDFs were smaller too, 7.8 KB instead of 16.3 KB and 16.1 KB instead of 47.6 KB. With an animated GIF, only the first frame goes into the PDF, just as with GIF to JPG.
















