[Tex/LaTex] n easy way of producing a pdf without pictures

graphicspdftex

I want pdflatex to produce a PDF with the images shown as empty rectangles.

pdflatex thesis.tex 

Will compile my thesis normally with pictures, but it takes about 5 min to compile

pdflatex -draftmode thesis.tex 

Will compile my thesis, showing that pdflatex has interpreted all of my commands, but it won't show a PDF so that I can see that it has actually done what I want. It takes about 20 sec to run.

\includeonly{Chapter4} 

Is faster, but gives a lot of errors making it harder to work out if my new bit of formatting code has done what I want. Also it isn't much faster.

I want something like

pdflatex -noimages thesis.tex

Which will create a PDF with empty rectangles where the images go, so that I can quickly check that the figures are in the right place, and any formatting, without having to wait 5 min between each attempt at formatting.

Any help is appreciated.

Best Answer

What about

\usepackage[draft]{graphicx}

in your .tex file?