Thanks in advance for your time.
I want to reduce the number of colors in my PNG24 with alpha channel. To do that, i use the code :
Code: Select all
convert -colors 500 "image.png" "image.png"
Is there a way to reduce colors in the RGB data only, without deterioring the Alpha Channel ?
I tried this option, but i think i do not use correctly, because it does not work.
Code: Select all
-channel
I tried also another approch :
- Extract the Alpha Channel data from a PNG24 to an external PNG file ; (DONE)
- Set Alpha Off, reduce number of colors, and Set Alpha On ; (DONE)
- Copy the Alpha Channel data to the reduced color PNG file. (NOT DONE)
How can i copy the Alpha Channel data to the reduced color PNG file ?
Thanks for your time.
Cheers.