Closed GoogleCodeExporter closed 9 years ago
Here is the code used for barcode.php and my configuration. I changed the
temporary directory from /tmp because of permission issues.
Original comment by spacerat...@gmail.com
on 11 Aug 2011 at 2:38
Attachments:
The issue you're encountering have been addressed for the 0.6.0 release
(currently in beta). If you can upgrade we would recommend it.
When the extension of the source file (php in this case) doesn't match a known
image type DOMPDF will assume a PNG image. I believe that there are some PNG
variants that 0.5.1 could not parse, which is maybe why one image display
correctly but not the other. If you can try other PNG variants (such as a
32-bit PNG) maybe you'll find one that works correctly.
barcode.php appears to create an 8-bit PNG. Maybe if you change barcode.php to
use imagecreatetruecolor() instead of imagecreate() it will output in true
color. I haven't tried this so I don't know if it will have any other effects
on the output.
Original comment by eclecticgeek
on 11 Aug 2011 at 6:47
[deleted comment]
Original comment by eclecticgeek
on 30 May 2013 at 5:16
Original issue reported on code.google.com by
spacerat...@gmail.com
on 11 Aug 2011 at 2:30