Search found 2 matches

by JoaoFranco
2014-07-14T07:23:14-07:00
Forum: Magick.NET
Topic: How to "force" width and height in AdaptativeResize method
Replies: 2
Views: 8441

Re: How to "force" width and height in AdaptativeResize meth

Thanks snibgo!

With your information I was able to find the proper .Net code.

Code: Select all

var newImageSize = new MagickGeometry(newWidth, newHeight);
newImageSize.IgnoreAspectRatio = true;
image.AdaptiveResize(newImageSize);
by JoaoFranco
2014-07-11T13:02:18-07:00
Forum: Magick.NET
Topic: How to "force" width and height in AdaptativeResize method
Replies: 2
Views: 8441

How to "force" width and height in AdaptativeResize method

Hi, We have an application responsible for resizing images that are uploaded by the users. The new dimensions are predefined and for each uploaded image, the application creates a new image file for each of the predefined dimensions. The problem is: The dimensions of the new images doesn't match the...