I have a long pdflatex file containing many images, some of which are quite large. Has anyone written code about selectively replacing images by the framebox produced by the draft option of the graphics package?
In other words, what I need is a variant of the \includegraphics command which will get the bbox of the file asked to be loaded and create a framebox of exactly the same size containing the name of the file. And by this it will significantly accelerate the LaTeX run. I need this both for PDF and for PNG/JPG files. (In tikz-pgf this should be trivial for those who know how to do it…)