Hi,
I'm evaluating Magick.NET to see if we can replace our current image manipulation tool, and I've noticed that Magick.NET seems to have poorer performance than our current tool. In one situation we are loading a TIFF, resizing it, and converting it to PNG. Is there anything we can do in terms of configuration (or code changes) to improve the performance of Magick.NET?
I have tried both the 32bit version and the 64bit version.
I'm evaluating Magick.NET to see if we can replace our current image manipulation tool, and I've noticed that Magick.NET seems to have poorer performance than our current tool. In one situation we are loading a TIFF, resizing it, and converting it to PNG. Is there anything we can do in terms of configuration (or code changes) to improve the performance of Magick.NET?
I have tried both the 32bit version and the 64bit version.
MagickReadSettings settings = new MagickReadSettings
{
FrameIndex = 0
};
string filePath = "C:\\TwoPageTIFF.tif";
MagickImage image = new MagickImage(filePath, settings);
MagickGeometry geometry = new MagickGeometry(1000, 1332);
image.Resize(geometry);
image.Format = MagickFormat.Png;
byte[] result = image.ToByteArray();
Thank you!