This project has moved. For the latest updates, please go here.

Create Animated Gif with images of different dimensions

Jan 16, 2014 at 4:52 PM
I'm building an animated gif using images of different dimensions. Example of code I'm using for each image added to the collection is below
img = New MagickImage(stream)
Dim geom As MagickGeometry = New MagickGeometry(500, 500)
geom.FillArea = True
With New MagickGeometry(500,500) I was hoping it would resize the image to a max width or height of 500 but it seems to ignore the width value and only uses the height value? Can you tell me what I'm doing wrong.

Thanks for your help
Jan 16, 2014 at 5:44 PM
You can find information about how the resizing works here: You need to Crop or Extent your image to make it exactly 500x500.
Jan 16, 2014 at 8:10 PM

Thank you