midora Posted August 29, 2021 Share Posted August 29, 2021 The octree quantization works quiet well in general but for grayscale images it creates sometimes colors. For grayscale images it would be great to get a switch to generate ordered fixed size palettes [(0,0,0), ... (255,255,255)] (i.e for saving to 8bit, 4bit, 1bit .bmp files). Doing this allows a consumer to use the color index in the raster directly as the gray color value (without a lookup into the palette). Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.