Tuesday, February 8, 2011, 12:10 PM - Computer, Linux, PostScript, LaTeX
		 I was looking for the best way to convert pixelbased images to .eps fileformat to use them in my documents created with LaTeX. The problem was that the eps-files where always very big (from 40kB jpg to 4MB eps).
I was looking for the best way to convert pixelbased images to .eps fileformat to use them in my documents created with LaTeX. The problem was that the eps-files where always very big (from 40kB jpg to 4MB eps).
At first I found jpeg2ps which produces eps files in eps version 2 or 3.
Beginning with the second version of PostScript (PS) the PS-Interpreter can render jpeg-images which are contained in ps-files.
So the easiest way I found was to use 'convert' which should be available on the most GNU/Linux Systems.
convert test.jpg eps3:test.epsnote the 'eps3:' at the beginning of the output file.
This produces eps-files which are just minimal bigger the the original jpg-file.
| permalink





 
 