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: &quot;Philipp Pagel-5 [via R]&quot; &lt;ml-node+3537871-1637924423-125852@n4.nabble.com&gt; Gesendet: 20.05.2011 09:50:42 An: Layman123 &lt;romanhornung@web.de&gt; Betreff: Re: Shrink file size of pdf graphics On Thu, May 19, 2011 at 01:35:51PM -0700, Layman123 wrote: &gt; I tried both, the plot devices in R and pdftk. First I tried the png-device, &gt; but as I wanted to increase the number of pixels with 'width' and 'height', &gt; 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 grpahics &quot;master file&quot; that I can esily use to produce addictional verison in differnent resolutions etc. &gt; Is there a way to do this with the gs-command so that it would be even more &gt; 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 &nbsp; &nbsp; &nbsp; &nbsp; Philipp -- Dr. Philipp Pagel Lehrstuhl f&uuml;r Genomorientierte Bioinformatik Technische Universit&auml;t M&uuml;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.789695.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]]

