Search found 5 matches
- 2017-03-27T06:17:33-07:00
- Forum: Developers
- Topic: Option to not reduce/freeze Indexed Palette
- Replies: 15
- Views: 39510
Re: Option to not reduce/freeze Indexed Palette
I read through this https://github.com/ImageMagick/ImageMagick/commit/8d3d6e584829223ac5f6e6653c3caa38a2562a74 and noticed +#if 0 /* To do: Option to use the original colormap */ + if (ping_preserve_colormap != MagickFalse) + { + } +#endif Seems like this has never been implemented :D Thanks for ...
- 2017-03-26T04:44:40-07:00
- Forum: Developers
- Topic: Option to not reduce/freeze Indexed Palette
- Replies: 15
- Views: 39510
Re: Option to not reduce/freeze Indexed Palette
It really doesnt seem to care wich argument is passed to define. Just tested this:
magick in.png -define png:perserve-colormap=WHATEVER PNG8:out.png
No error message,no change in behaviour, no nothing.. O.o it seems Magick just doesnt pass these arguments or use them.
magick in.png -define png:perserve-colormap=WHATEVER PNG8:out.png
No error message,no change in behaviour, no nothing.. O.o it seems Magick just doesnt pass these arguments or use them.
- 2017-03-26T04:26:27-07:00
- Forum: Developers
- Topic: Option to not reduce/freeze Indexed Palette
- Replies: 15
- Views: 39510
Re: Option to not reduce/freeze Indexed Palette
@fmw42: i think remap had the problem that it reorders the colors in the palette following some algorithm, so the colors dont have the same idexes as before. That makes the changed palette useless as well. All of these commands have the exact same result, as if define would do nothing: magick in.png ...
- 2017-03-25T15:38:55-07:00
- Forum: Developers
- Topic: Option to not reduce/freeze Indexed Palette
- Replies: 15
- Views: 39510
Re: Option to not reduce/freeze Indexed Palette
Version: ImageMagick 7.0.4-5 Q16 x64 2017-01-21 on Windows10 .png -> .png magick convert in.png -gravity center -background none -extent 40x40 out.png wich resizes all "in.png"s into a uniform size of 40 by 40 pixels with the original content centered in the middle. Background none is used to make ...
- 2017-03-25T07:25:14-07:00
- Forum: Developers
- Topic: Option to not reduce/freeze Indexed Palette
- Replies: 15
- Views: 39510
Option to not reduce/freeze Indexed Palette
Hi, I'm having troubles using ImageMagick for editing Image files with an indexed palette. The problem is the reduction and reordering of the indexed palette ImageMagick automaticaly performs. I havent found an option to disable this feature - I would need EXACTLY the same palette after a "convert ...