Answer the question
In order to leave comments, you need to log in
how to cut a piece out of an image using Perl::Magick?
There is an object $image1 of type Image::Magick
The essence of the task is to get a new object $image2 of type Image::Magick containing a part of the image cut from $image1. At the same time, $image1 must remain unchanged. And there should be no extra disk accesses.
That is, the option when we load the same image in $image2 as in $image1 and then crop it is not suitable.
I was looking for the answer here but with English it's hard. Thank you in advance for your help.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question