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

ImageMagick Performance on Very High Resolution Images

Oct 19, 2014 at 5:54 PM
I am new to ImageMagick, please accept my apologies if I mention something wrong
I am using ImageMagick from a couple of days to achieve the following functions on Ultra High Resolution Images (Around 40Megapixels)
  1. Convert to and from CMYK to sRGB color spaces
  2. Adding color profile to Images
  3. Perform encoding in JPEG, PNG, BMP and TIFF formats
I am facing serious performance issues in many places including:
  • Loading Image from Disk
            //Load Image from disk
            using (MagickImage image = new MagickImage("sourceImagePath"))
  • Writing Image to Disk [Very high latency in case of PNG images]
             //Store image on the destination path
            NativeColorSpaceImage.Write("Path");
  • Color space conversion
             image.AddProfile(ImageMagick.ColorProfile.USWebCoatedSWOP);
             image.AddProfile(ImageMagick.ColorProfile.SRGB);
             image.ColorSpace = ImageMagick.ColorSpace.sRGB;
    I am using the simple available functionality in tutorials. Please suggest me if there is any available parameters to boost the performance of the functionality I need.
Coordinator
Oct 20, 2014 at 8:08 PM
As posted in the other topic the performance 'experience' on my machine is different from yours. You might gain an improvement if you change the compression (Quality). Details on what value to use can be found in this topic: https://magick.codeplex.com/discussions/569689
Oct 21, 2014 at 6:46 PM
You have mention the image quality for jpeg in some different terms here

Can you please mention the quality and its value for jpg, tiff, bmp and jpg?
Coordinator
Oct 22, 2014 at 10:50 AM
The link I was referring to in my previous post was just for PNG. For JPG it is just 'higher is better'. For TIFF it is used to determine the compression rate ('higher is better') or the jpeg quality ('higher is better'). And BMP does nothing with the quality setting.
Oct 22, 2014 at 11:18 AM
What is the maximum value of quality for JPEG and TIFF?
Coordinator
Oct 22, 2014 at 11:37 AM
It is a percentage and the maximum is 100%.