Using an image as palette
Posted: Sat Feb 27, 2021 8:11 pm
Is it possible to use one image as a palette to replace colors in another with approximation? If yes, how?
Here you can ask questions and get answers about VintaSoft products.
http://www.vintasoft.com/forums/
ChangePixelFormatToPaletteCommand class allows to convert image to palette image with specified color palette.Is it possible to use one image as a palette to replace colors in another with approximation? If yes, how?
If you have BGR32 image, you need to get unique colors from first BGR32 image, get unique colors from second BGR32 image, create algorithm that allows to convert color from second image into color from first image, change pixels in second image.I am getting Unsupported pixel format error. On top of that BGR32 does not support palette as i found out, and one of the parameters is just that, a palette.