Re: PNG loading time
Max Chernoff via tex-live <[email protected]>
| Newsgroups | gmane.comp.tex.live |
|---|---|
| Message-ID | <[email protected]> |
Hi Norbert,
On Sun, 2026-02-08 at 11:50 +0100, Norbert Preining wrote:
> Is there a way to convert non-fast PNGs to fast PNGs?
If you're able to convert the files, why not just convert them to PDF
once, and then include that PDF instead of the PNG files? That will
_always_ be faster than using PNG files directly, since unlike with JPEG
files, the PDF format doesn't natively support embedding PNG files. You
can use pdfTeX/LuaTeX directly for this, or other tools like ImageMagick
and pdfjam:
$ convert $(kpsewhich example-image.png) example-image.pdf
$ pdfjam $(kpsewhich example-image.png) --outfile example-image.pdf
Thanks,
-- Max