Reducing the size of the R-produced maps while saving
On 01/31/2012 05:02 PM, Dimitri Liakhovitski wrote:
Dear map-gurus, I am creating some country maps using spplot from library(raster). Once I've created a map, I save it as an .emf file. .emf format is important for me because I can have transparent background. However, once the map is saved, I am getting a huge .emf file (e.g., 74 MB). Is there any way to save it in a smaller size?
The usual advice is to use a bitmap format, e.g. png, which supports transparency, and with sufficient pixel dimensions. See ?png and do read the Details section.
Edzer Pebesma Institute for Geoinformatics (ifgi), University of M?nster Weseler Stra?e 253, 48151 M?nster, Germany. Phone: +49 251 8333081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de http://www.52north.org/geostatistics e.pebesma at wwu.de