Created
August 26, 2011 09:17
-
-
Save tlatsas/1173033 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ convert -quality 80 fig.png fig.jpg | |
I find a quality factor of 80 on high resolution images gives good compresssion without too much loss in quality. You can then to convert the image to eps using "convert" with the eps2 settings: | |
$ convert fig.jpg eps2:fig.eps | |
If you can use level 3 postscript, you can convert directly from png to eps: | |
$ convert fig.png eps3:fig.eps | |
Using level 3 postscript from a png image file for scientific figures will often produce a very small eps file. Ghostscript is compatible with these level 3 eps files, so this is often a good way to go. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment