I'm trying to add a clipping path to a TIFF image. I made one TIFF file with GIMP that contains clipping path and I can clip my image using it by
$img = new Imagick("./test.tiff");
$img->clipPathImage("#1", false);
But I would like to append clipping path info as coordinates like GIMP does into the image file itself so later another process can read it...
I've tried with ImagickDraw, pathStart... pathFinish but it draws something on image not as a path that I can see in GIMP like
Edit: Solutions in other languages are welcome.
from Adding clippath information to an image

No comments:
Post a Comment