coordinates of path

Started by johanwieland, May 31, 2012, 01:48:37 PM

Previous topic - Next topic

johanwieland

Hai,
I'm looking for a possibility to find the bounding box or coordinates in pixels of a clipping path in a tiff file.
did manage to make it visible with identify -verbose, but i think it is part of the 8BIM information of the Photoshop profile, and prefer to use Exiftool if possible,
part of the output of identify -verbose example.tif is:

<svg width="504" height="360">
<g>
<path style="fill:#00000000;stroke:#00000000;stroke-width:0;stroke-antialiasing:false" d="
M 65,86
L 404,86
L 404,250
L 65,250
"/>
</g>
</svg>

until now i only can determine the name of the Clipping Path with Exiftool

something else we wan't to find is the position of the guides in the photoshop file,
should this be possible with Exiftool and if so: how?

Greetings,

Johan

Phil Harvey

Hi Johan,

ExifTool doesn't currently extract this information.  I seem to remember looking into this before, but I can't recall why I didn't add this ability.  I'll look into this.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).