-
odd limited color pallet
I’m doing some work for a poor quality TFT screen and it is only able to display RGB565. For those not familiar, instead of 255,255,255 the pallet is divided into 32,64,32. (That green is Super annoying).
For images, I’m using imageMagick to deal with and have come up with some methods there that end up looking really good. Basically I’m saying quantize the image in log, dither with FloydSteinberg method, remap the colors to an image that I created with all available colors (doing to force consistency), and output the file.
OK, that works for images, but now I want to do that in after effects because I need to put some videos on there.
So I’m trying to find a good way to dither the images with that limited color pallet. And realistically, 32,32,32 is probably fine. Unless the dither is pretty perfect and smooth, the image ends up getting shifted to greenish any time you’ve got a neutral gradient due to rounding.
The best I’ve come up with so far is to split the footage into 3 layers, limit each to R G B and switch layer modes to add. Then I’ve found that if I sequentially add posterize and a little noise then it comes out pretty good. So I’ll start with maybe 128, add a little noise, then do 96, add a little noise, 64, add some noise, 32. Of course, for anything that’s a flat color, I just added some noise.
Basically I’m trying to do the same thing that’s happening when you export to indexed color, only my color pallet is actually 65,536 instead of 256. And with indexed color you colors can be Any 256 colors. In this case I need to limit the pallet to only those allowed colors.
The other closest solution I can think of is to make an image that is 16×16, put all 32 possible grey values in it since that is the most important to these particular images, then just try and get the rest of the colors in there as closely as possible.
Sorry, there were no replies found.