Converting a gradient RGB to indexed file
Posted: 2018-05-30T08:21:23-07:00
Hello,
I encounter an issue when trying to index a gradient file in RGB 8bit with following command line:
I get the verbose information that the resulting png file only contains 16 colors, not 21 as specified. If I use a larger number such as
it shows that ImageMagick in deed is able to generate 21 colors (well, still not the 60 that I specified specifically).
Any idea what's happening?
Here's the RGB 8bit file I'm using:
https://www.dropbox.com/s/150p822mfsgm ... t.tif?dl=0
Thanks!
I encounter an issue when trying to index a gradient file in RGB 8bit with following command line:
Code: Select all
convert -verbose Gradient.tif -dither none -colors 21 Gradient.png
Code: Select all
convert -verbose Gradient.tif -dither none -colors 60 Gradient.png
Any idea what's happening?
Here's the RGB 8bit file I'm using:
https://www.dropbox.com/s/150p822mfsgm ... t.tif?dl=0
Thanks!