[magick-users] jpg to eps keeping all pixels

Hugemann Auto at Hugemann.de
Tue Jan 2 05:09:54 CST 2007


> Because of the nature of EPS being PostScript, an EPS document doesn't
> necessarily have a concept of "resolution" in a normal raster image way.
> Many EPS documents are vector graphics, which are scaled to points, 72
> points to an inch normally.

Yes Scott, your are right, but I would suggest that IM should offer you 
the possibility to evaluate certain data in this respect from the EPS 
file. Then it would be up to the user to decide whether this data is 
reliable in this certain case or whether it is not.

What I do in my case, is to look in the EPS file where the resolution 
information is given like this:

/dpi 255 def

So it is possible to write a batch file that extracts this information 
from each EPS file, doing something like

TYPE foto123.EPS | FIND "/dpi" >>list.txt

(I am working on a Windows machine.) This can of course be automated for 
all files and the result "list.txt" can be edited into a batch file 
feeding "convert" with the right resolutions.

But it would be much easier if IM would offer me a handle to certain 
information in the EPS file, comparable to the FIND filter.

Greetings from Germany
Wolfgang Hugemann


More information about the Magick-users mailing list