clut question
Posted: 2015-08-05T21:31:50-07:00
Yay, it worked! Thanks!
After reading some more, I realized that I might want to do something slightly different (let me know if I should post a new question). I want the following to happen:
Each pixel in the out.png image looks up what RGB value it needs to have by using the corresponding pixel in the in.png image as an index in a look-up-table (which is the cmap.png). This means that the LUT has exactly 256 unique colors for a UInt8 in.png image. While this may accomplish the (almost) exact same thing as the -clut operator, it seems to me like it would be much much faster. Is there something like that in imagemagick?
After reading some more, I realized that I might want to do something slightly different (let me know if I should post a new question). I want the following to happen:
Each pixel in the out.png image looks up what RGB value it needs to have by using the corresponding pixel in the in.png image as an index in a look-up-table (which is the cmap.png). This means that the LUT has exactly 256 unique colors for a UInt8 in.png image. While this may accomplish the (almost) exact same thing as the -clut operator, it seems to me like it would be much much faster. Is there something like that in imagemagick?