List,
Ok...I have an image, and I have a path inside the image that I would like to extract out. Can you show me via some example command-line code how to define the path for the image...then extract that section out...while maintaining the dimensions of the original image? My path is not a standard geometric shape each time...but, it is a polygon. I have a second image that is the same dimensions as the first...but, I want to extract a section of the first that changes, dynamically, and composite that extraction with the second. All I need help with is how to extract the polygon from the first image while maintaining the dimensions of the first image...because the first image has a transparent background.
Thanks in advance...
Matthew Duplantis
Clipping an image along a path
-
- Posts: 2
- Joined: 2012-04-19T09:39:29-07:00
- Authentication code: 13
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Clipping an image along a path
I don't know the answer as I don't use them. But a search of the archives has the following: viewtopic.php?f=1&t=19392&p=75998&hilit ... ath#p75998
So it would appear that you could extract that info from the verbose information for the image.
So it would appear that you could extract that info from the verbose information for the image.