-clip wrongly assumes that first path is clipping path
Posted: 2008-09-11T02:44:17-07:00
This may not technically be a bug, but the functionality does not allow the actual image properties to determine the behaviour which means that it is at least a hardcoding issue.
This is my problem:
When using "-clip" the first path in the 8BIM profile is applied as the image clipping path.
BUT:
(It is not necessary to do so, you can have 10 paths in your image and none of them is clipping.)
I would expect -clip to apply the designated clipping path in the 8BIM profile, not the first path.
If none of the paths in the profile is designated "is clipping path" I would expect -clip to do nothing.
If I want to use a different path for clipping I can use -clip-path thePath instead.
But I have not been able to ask an image what paths it contains.
I have not found an identify switch that returns the list of paths in the 8BIM profile.
Is this possible?
This is my problem:
When using "-clip" the first path in the 8BIM profile is applied as the image clipping path.
BUT:
- Images can have many concurrent paths.
A path does not have to be a clipping path.
The clipping path does not have to be the first path.
(It is not necessary to do so, you can have 10 paths in your image and none of them is clipping.)
I would expect -clip to apply the designated clipping path in the 8BIM profile, not the first path.
If none of the paths in the profile is designated "is clipping path" I would expect -clip to do nothing.
If I want to use a different path for clipping I can use -clip-path thePath instead.
But I have not been able to ask an image what paths it contains.
I have not found an identify switch that returns the list of paths in the 8BIM profile.
Is this possible?