Menu

#1089 including a PNG with index colour creates invalid PDF

v1.0_(example)
open
nobody
png index (1)
5
2016-04-14
2015-09-27
David Earl
No

I have a PNG file which is index colour. If you include this in a PDF with TCPDF it creates a PDF for which Acrobat says "an error exists on this page. Acrobat may not display this page correctly..." and the image is blank; the Chrome viewer shows it speckled and repeated with black at the bottom.

Changing the image to RGB then works.

This is from TCPDF 6.2.8

Discussion

  • Liam Vans

    Liam Vans - 2015-10-28

    Same here, issue is easily reproducable!

     
  • Martin Kluska

    Martin Kluska - 2016-04-14

    Same here!

    Non-working image: iconApp_fotoimpuls_final1
    Working image: preview_iconApp_fotoimpuls_final

     

Log in to post a comment.