Page 1 of 1

What is difference between geometry and base geometry in verbose info

Posted: 2018-12-19T17:24:01-07:00
by fmw42
What is difference between geometry and base geometry in verbose info for an EPS file?

Image: test1.eps
Format: EPT (Encapsulated PostScript with TIFF preview)
Class: DirectClass
Geometry: 806x859+0+0
Base geometry: 3358x3580
Resolution: 300x300
Print size: 2.68667x2.86333
Units: PixelsPerInch
Colorspace: CMYK
Type: ColorSeparation


When I convert to PNG the result is equivalent to the base geometry. So what is the point of the geometry which is so different.

It appears that the Geometry is the equivalent size when using the default density of 72. Is that a correct interpretation?

3580*72/300=859

Re: What is difference between geometry and base geometry in verbose info

Posted: 2018-12-28T08:56:04-07:00
by magick
The base geometry is the width and height of the image when it is first read-- before any operations are performed on the image.

Re: What is difference between geometry and base geometry in verbose info

Posted: 2018-12-28T10:17:32-07:00
by fmw42
Then why does the image show a geometry that is different from the base geometry when read and nothing is done to it. It comes from identify -verbose

Re: What is difference between geometry and base geometry in verbose info

Posted: 2018-12-29T06:32:30-07:00
by magick
We would need to inspect the image before we can comment. Where can we download test1.pdf?

Re: What is difference between geometry and base geometry in verbose info

Posted: 2018-12-29T11:02:55-07:00
by fmw42

Re: What is difference between geometry and base geometry in verbose info

Posted: 2018-12-29T13:02:08-07:00
by magick
Inspect test1.eps. The page width/height is extracted from this line:

Code: Select all

%ImageData: 3358 3580 8 4 1 3358 7 "beginimage"

Re: What is difference between geometry and base geometry in verbose info

Posted: 2018-12-29T14:12:06-07:00
by fmw42
I do not see that line from identify -verbose test1.eps, but I do see a line

Page geometry: 806x859+0+0

which corresponds to the clip data line in the svg file

<svg xmlns="http://www.w3.org/2000/svg" width="806" height="859">

Both these correspond to the geometry.

As opposed to the base geometry which is 3358x3580.

So I suppose the geometry corresponds to the clip information and the base geometry is the original un-clipped size.