CTAN Comprehensive TeX Archive Network

New on CTAN: graphicscache

Date: August 3, 2021 10:24:35 PM CEST
Max Schwarz submitted the graphicscache package. Version: 0.3 2021-08-02 License: bsd3 Summary description: Cache includegraphics calls Announcement text:
Are you waiting forever while your document compiles? Are you tired of trial-and-error downscaling your images to make the output document smaller? This LaTeX package provides caching of `\includegraphics` calls, with several useful effects: * Recompilations are much faster * Images can be postprocessed with `ghostscript` before inclusion, thus: * Automatic downscaling to specified DPI * Automatic JPEG compression with configurable quality * Much smaller files (e.g. 10MB instead of 150MB)! It needs '-shell-escape', however.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/graphicscache The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/latex/contrib/graphicscache/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

graphicscache – Cache includegraphics calls

This package provides caching of \includegraphics calls, with several useful effects:

  • Recompilations are much faster (10x speedup observed).
  • Images can be postprocessed with ghostscript before inclusion, thus:
    • Automatic downscaling to specified DPI
    • Automatic JPEG compression with configurable quality
    • Much smaller files (e.g. 10MB instead of 150MB)!

Note: Due to the one-by-one invocation of pdflatex and ghostscript for each graphics element, the first compilation is typically slower than usual.

Note: graphicscache needs the \write18 call (also called shell escape). This is a security risk if you have untrusted sources.

graphicscache supports pdf and Lua; XeLaTeX is not supported.

Packagegraphicscache
Version0.4 2022-12-20
Copyright2018–2021 Max Schwarz
MaintainerMax Schwarz

Announcements

more

Guest Book Sitemap Contact Contact Author