[R-sig-Geo] Reducing the size of the R-produced maps while saving

Edzer Pebesma edzer.pebesma at uni-muenster.de
Tue Jan 31 17:09:24 CET 2012



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



More information about the R-sig-Geo mailing list