Hello!
Is there a way to use ImageMagick to copy a clipping path from one image (white filled one, grayscale) to another (cmyk or rgb)?
how to copy a clipping path
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: how to copy a clipping path
The clipping path is image meta data that is attached to a specific image.
You can copy the actual pixels from on image into another (keeping its meta-data) by using compose,
with a -extent or -crop on the destination (meta-data preserving) image to resize it first.
Remember it is the 'destination' or 'background' image that has the meta-data preserved.
You can copy the actual pixels from on image into another (keeping its meta-data) by using compose,
with a -extent or -crop on the destination (meta-data preserving) image to resize it first.
Remember it is the 'destination' or 'background' image that has the meta-data preserved.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/