I try to obtain the coordinates of a clipping path in an image.
How is that possible?
Get coordinates x,y of a clipping path #1
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Get coordinates x,y of a clipping path #1
Often it will be listed as SVG text in the
If the image is TIF, it can be extracted from the 8bim file as follows:
Code: Select all
identify -verbose image.suffix.
If the image is TIF, it can be extracted from the 8bim file as follows:
Code: Select all
identify -format '%[8BIM:1999,2998:#1]' image_clip.tiff
Re: Get coordinates x,y of a clipping path #1
Thank you, I was aware of that. I tried to get the same result using the PHP Class.fmw42 wrote: ↑2019-05-23T09:58:25-07:00 Often it will be listed as SVG text in the
Code: Select all
identify -verbose image.suffix.
If the image is TIF, it can be extracted from the 8bim file as follows:
Code: Select all
identify -format '%[8BIM:1999,2998:#1]' image_clip.tiff
I was able using Imagick::identifyImage (true) and extracted the svg string portion of the appended rawOutput.