I seem to have run into the same issue as described in this (previously closed) question.

    \caption{A 16-bit PNG image.}

Here is the image being included:

16-bit PNG image

Compilation succeeds without warning (pdflatex), but the resulting PDF shows artifacts and a white box in the corner of the image (when opened in Preview):

enter image description here

  • could be some sort of transparent layer over the image. I don't see, how this is related to *TeX in any way... – naphaneal Jun 19 '18 at 9:21
  • It is related to TeX because the PNG is fine when viewed in any software, and artifacts appear only after including it in a TeX document. – merlinND Jun 19 '18 at 9:22

The artifacts disappear when converting the 16-bit PNG image into 8-bit PNG. This is easily done with Preview, ImageMagick or image editing software.

enter image description here

For context, my original 16-bit PNG was the result of using convert on an EXR image, and so it took me a while to realize that it was 16-bit.

  • probably you should flag this with pdftex maintainers to check if it is an undocumented limitation of the system, or a fault in that particular png or a bug in pdftex. – David Carlisle Jun 19 '18 at 9:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.