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

New Post: Resize is not working properly

$
0
0
Thank you for the reply. I had already tried that and it made no difference, but for purpose of discussion, I went back to it. I did walk through this in debug to be 100% sure it called every line with no errors.

Here is my current code.
        MagickImage NewImage = new MagickImage(strTempFile);
        NewImage.Resize(750, 256);
        NewImage.BackgroundColor = Color.Transparent;
        NewImage.Extent(750, 256, Gravity.Center);
        NewImage.Format = MagickFormat.Tiff;
        NewImage.Write(strFileName);
The after is at https://boomerangdm.com/After2.tif
You can see it made no difference.

Viewing all articles
Browse latest Browse all 3693

Trending Articles