|
My original image has colorType = TrueColor. After loading and processing it with ImageMagick and writing it to a new file, the new file ends up with colorType = Palette. I know this is the way ImageMagick optimizes output by default, but it affects my work. Is there any way to preserve the original colorType? |
Answered by
dlemstra
May 17, 2025
Replies: 2 comments 2 replies
|
You should be able to control this with the |
1 reply
Answer selected by
Hieung28
|
You will need to add |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should be able to control this with the
ColorTypeproperty of thePngWriteDefinesthat you need to pass to theWritemethod.