Re: [R] Shrink file size of pdf graphics

From: Layman123 <romanhornung_at_web.de>
Date: Sun, 22 May 2011 08:17:07 -0700 (PDT)

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_at_n4.nabble.com&gt; Gesendet: 20.05.2011 09:50:42 An: Layman123 &lt;romanhornung_at_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 g!

 rpahics &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.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_at_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.
Received on Sun 22 May 2011 - 15:21:50 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 22 May 2011 - 15:40:08 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive