Thank you very much for the tip! Using imagemagick i got an image of reasonable quality without making the file size that large. Regards Roman Von: "Philipp Pagel-5 [via R]" <ml-node+3537871-1637924423-125...@n4.nabble.com> Gesendet: 20.05.2011 09:50:42 An: Layman123 <romanhorn...@web.de> Betreff: Re: Shrink file size of pdf graphics On Thu, May 19, 2011 at 01:35:51PM -0700, Layman123 wrote: > I tried both, the plot devices in R and pdftk. First I tried the png-device, > but as I wanted to increase the number of pixels with 'width' and 'height', > the labels are getting smaller When I really need a png, I usually produce a pdf or eps first and then convert to png of the desired resolution with the convert command of imagemagick (but of course any other software, like e.g. Photoshop, should work fine, too). That way I don't have to figure out the correct paramters to make the png the way I want it and I have the additional benetfit of a vector g! rpahics "master file" that I can esily use to produce addictional verison in differnent resolutions etc. > Is there a way to do this with the gs-command so that it would be even more > compressed? Possibly, but of course there is a limit to how much you can compress a file without resorting to lossy compression. You may have hit that limit. cu Philipp -- Dr. Philipp Pagel Lehrstuhl für Genomorientierte Bioinformatik Technische Universität München Wissenschaftszentrum Weihenstephan Maximus-von-Imhof-Forum 3 85354 Freising, Germany http://webclu.bio.wzw.tum.de/~pagel/ ______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. If you reply to this email, your message will be added to the discussion below: http://r.78! 9695.n4.nabble.com/Shrink-file-size-of-pdf-graphics-tp3536042p3537871. html To unsubscribe from Shrink file size of pdf graphics, click here .
-- View this message in context: http://r.789695.n4.nabble.com/Shrink-file-size-of-pdf-graphics-tp3536042p3542242.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.