Re: How to get the "Base geometry" of an eps file
Posted: 2009-01-20T23:32:26-07:00
A EPS file is a vector format, and while it may contain raster images at particular DPI, the file format itself has no 'resolution' rating.
that is 300dpi is not written or even part of the image format.
You will need to specify the intended DPI resolution (using -density) before reading to get the desired final size.
NOTE within EPS is a string, something like
IM should handle that conversion (via Ghostscript) perfectly fine.
that is 300dpi is not written or even part of the image format.
You will need to specify the intended DPI resolution (using -density) before reading to get the desired final size.
NOTE within EPS is a string, something like
This specifys the image bounds (though it could draw outside these bounds) that the contents are located. They are in 'points' (1/72 points per inch) and as such are dependant on the 'density' (pixels per inch) the image is read in at.%%BoundingBox: llx lly urx ury
IM should handle that conversion (via Ghostscript) perfectly fine.