Displaying 1 result from an estimated 1 matches for "adamwilson".
2012 Apr 23
1
write a png inside a pdf for large graphics?
...gemagick or ghostscript. I currently get
around this by writing the graphics to a potentially very large (>>100MB)
PDF, then use ghostscript to convert *only* the large pages of the pdf to
png and put it back together as a PDF (a function I wrote for this is
described here:
http://planetflux.adamwilson.us/2010/06/shrinking-rs-pdf-output.html).
I'm curious if there is a way to do it directly by instructing R to write a
png and embed it within the already open PDF device. Any ideas?
Adam
[[alternative HTML version deleted]]