I'm trying to reduce the number of colors in the image below using -remap in imagemagick.
colortable.png which consists of this two color A12E64, FF0000
Using the following code:
convert olympic-logo.png +dither -remap colortable.png olympic-logo-remap.png
Output: olympic-logo-remap.png
Expected Output:
olympic-logo-expected.png
Is there a way to ignore transparent area so It won't get mapped to get the expected output?
Thanks and more power.