First of let me admit that I've very new to the LaTeX, so this may be obvious and I just do see it, but here's my question:
I'm trying to write a set of macros to automatically downsample images... sort of like degrade.sty, but for images that are inserted at arbitrary sizes in the document. What I would like to do is redefine \includegraphics so that this can be accomplished for existing documents. In order to find the intended graphics file, I need to know what paths are currently in the graphics path. Alas, I cannot figure out how to determine what those paths are. Is this possible?
\makeatletter\typeout{\Ginput@path}\makeatother. The former stems doing a\show\graphicspath. Or do you want to do something with it programmatically? – Werner Apr 21 '12 at 01:26\graphicspath. Anyway, ultimately, I'd like to provide it as an input to a script using\write18. – Michael Apr 21 '12 at 01:33\Ginput@pathexists (in other words, actually test whether a call to\graphicspathhas been made) and consequently use/act on\Ginput@path. I'm not sure how to do that with\write18though. – Werner Apr 21 '12 at 01:42