![](https://secure.gravatar.com/avatar/ad5afbb91c8b5ec2b1199838461a8348.jpg?s=120&d=mm&r=g)
Hi Taco, On Sun, 27 Feb 2005, Taco Hoekwater wrote:
I saw this on c.t.t. Shall I attempt a merge of yours and my patches?
oh yes, that would be very nice! The reason why i hesitated with this patch is that it's not clear to me whether the libpng internally does any color transforms or other RGB number tweaking during decompression, maybe driven by some special PNG chunks in the image file. The fast reading patch would ignore these chunks. But until now i couldn't verify that libpng would do such calculations at all. Likely not; then the patch would be safe. Regards, Hartmut
Hartmut Henkel wrote:
wrote: I need to put a lot of PNG pictures in a tex document. But including PNGs makes pdfLaTeX to hang a few seconds after including each PNG. This doen't happens with other file types as JPG, PDF, etc.
Is there a way to ommit this delay? Without converting all PNGs to other format?
If you compile from source, maybe check
http://www.circuitwizard.de/pdftex/patch5
which should read much faster, if the PNG files are of the right type. The problem with this rough patch is that it's now getting obsolete as it doesn't (yet) support new transparency features to come.