I'm writing a document which has many plots with quite a lot of data points. Those plots are stored as .pdf
vector images and their rendering takes a lot of time. So every time I stumble upon a page with one of those, my editor freezes for a solid minute.
I know that graphicsx has a draft option but that hides the images which is not a very good solution since then I can't tell the images apart just by the filename. Those are results of experimental runs with quite generic names.
Is there perhaps a way to rasterize the images (e.g. into .png
) in draft mode and use the original .pdf
in final mode? I know that I could use ImageMagick or whatever external tools to do the conversion but that seems like a lot of extra work since I would need to add every image to a makefile and duplicate the \includegraphics
for draft and final.
There are some parameters of graphicsx such as type
or command
which are not explained in the documentation. Could this perhaps be achieved using one of those? Could I perhaps hook the \includegraphics
and call an external command? I would manage writing the command but I have no Idea how hooks work in LaTeX.
Otherwise, I'm well aware of the fact that raster graphics are inferior to vector graphics as far as the quality is concerned. I'm going to use vector graphics in the final version. This is intended solely for quick draft preview.
texdoc graphicx
page 10 lists both type and command keys. Which documentation did you use?eps
files by a substantial percentage. I've never tried it with files from Excel, though.