Hello, i have a TImage, and i have loaded an image of 256 colors. I have an array of 256 TColors, and i want put this as the new palette of my TBipmap of the TImage. But i don´t know how do it. The CreatePalette() API, Does run correctly.
The image is a windows bitmap.My program will be an palette editor for images in 256 colors, but i need know how i can change the palete of a TBitmap. Too i need know how access to the array of color dates, where sais what color of the palette must be painten in each point.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.