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

New Post: Cropping

$
0
0
Hi! I've tried to replace my code:
using (MagickImage image = new MagickImage(filename)) {
        MagickGeometry gCrop = new MagickGeometry();
        ...

        for(...) {        
            SetGeometry(gCrop...);
            MagickImage clone = image.Clone();
            clone.Crop(gCrop);
            ...
        }
}
by the suggested clone with parameter:
    MagickImage clone = image.Clone(gCrop);
but the result is wrong (black image with some artifacts). Any idea what is wrong? I am using 7.0.0.0018.

Thank you

pet

Viewing all articles
Browse latest Browse all 3693

Trending Articles