CTAN Comprehensive TeX Archive Network

CTAN update: graphicscache

Date: December 21, 2022 5:43:48 PM CET
Max Schwarz submitted an update to the graphicscache package. Version: 0.4 2022-12-20 License: bsd3 Summary description: Cache includegraphics calls Announcement text:
This version of graphicscache * improves Windows support through more robust detection of ghostscript * is more robust against catcode changes of required special characters
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.

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



Guest Book Sitemap Contact Contact Author