Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: More than one crop results in a 1x1 (blank) image

$
0
0
It seems you have to reset the 'page' of the image before you do the next crop. You can find some information about that here: http://www.imagemagick.org/Usage/crop/#crop_repage. Your code would become this:
_magickImage.Crop(new MagickGeometry(1340, 47, 924, 1144));
_magickImage.RePage();
_magickImage.Crop(new MagickGeometry(0, 0, 100, 100));

Viewing all articles
Browse latest Browse all 3693

Trending Articles