-
Hello! magickImage.Write(new FileInfo(fullFileName), MagickFormat.Jpg); I am trying to prevent Magick.NET from creating 8bit grayscale images when there is no colour in the image data (this seems to be an automatic thing) i.e. I would always want the images to be saved in 24bit colour even if the contained data is grayscale. I have tried to set various things to force this but haven't found a way to achieve it. Thanks for your help! Mike |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Can you share a sample input image? |
Beta Was this translation helpful? Give feedback.
-
I cannot use that example to reproduce your question. Please prove a small example that can be used to reproduce this question. |
Beta Was this translation helpful? Give feedback.
-
You can force 24 bit images when you set the following settings right before you write the image. image.ColorSpace = ColorSpace.sRGB;
image.Settings.ColorType = ColorType.TrueColor; |
Beta Was this translation helpful? Give feedback.
You can force 24 bit images when you set the following settings right before you write the image.