- What are the size(s) of the buffer(s) that are used internally by ImageMagick?
- Are there any problems compiling or using ImageMagick for ARM devices?
- Is the following a correct way to instruct ImageMagick to create a thumbnail efficiently from a memory usage perspective. I don't mind if the entire thumbnail bytes are stored in memory temporarily?:
I am using mono by the way:
Code: Select all
ImageMagick.WandGenesis();
IntPtr wand = ImageMagick.NewWand();
ImageMagick.ThumbnailImage(wand, (IntPtr)thumbWidth, (IntPtr)thumbHeight);
var thumbnailBytes = ImageMagick.GetImageBlob(wand) as byte[];
ImageMagick.DestroyWand(wand);
ImageMagick.WandTerminus();
return thumbnailBytes;