I am using MikTeX and Tikz package to generate images (playing cards on A4 paper). The result is nice, but slow (too many vector objects, printing is hell slow).
Is there a way to directly tell TeX "I want everything else than text to be rasterized before creating PDF? You shoud use this ... DPI. Yes, the result would be great in file size, I want it that way." It would be great if I could do that on per-tikz picture object basis (Rasterize everything in this tikz clipping/bounding box).
Is there a way to do it without external programs like ImageMagick?
Thanks for all the contributions
- usepackage outline used drawing the text multiple times last time I checked.
- Thanks for externalize, I am just now studying it.
- Yes, I want to have only specific portions of the document rasterized! Like telling Tikz, I want to rasterize these drawing commands from here to here and result saved on a canvas loaded just here in the page. And now draw some text over it for me please. Rasterizing the whole document seems like an overkill to me (and it can't be done with TeX commands, sniff!)
MWE here - http://pastebin.com/ehZxD73P. It is a bit messy, because I wanted to make a code for drawing playing cards. Cards produced by the command "cardstats" are nice, but put 9 of them on one page and the printer will need a loong time to do it. If I could rasterize the problematic portions (only), it will be great!
Second great use would be, that specifying big images as backgrounds for cards, it could automatically rasterize them in lower resolution and not storing them in original resolution.
Well, maybe I want to have something that was not yet implemented...