Replies: 1 comment
-
I think this is the issue that is not solved yet: ImageMagick/ImageMagick#416 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
No matter what I do, MagickNET saves PNG file with changed (likely optimized) palette. I've found out that this behavior can be changed with define "preserve-colormap". But after I use this define I get the following exception:
ImageMagick.MagickCoderErrorException: 'Valid palette required for paletted images'
I've tried settings the palette using image.setColorMap and image.map(colorMap) without any success.
Preserving the palette is an absolute must, and it can't be changed. The project where these files will be used is a legacy project relying in 256-color indexed color bitmaps.
All my code for reference:
Beta Was this translation helpful? Give feedback.
All reactions