How to change TBitmap palette? lazarus / 39-Graphics ---------------------------------------------------------------------- pixel_ · 2021-11-25 04:19 Hello. Can you help me please, how to change TBitmap palette for pf8bit or for pf4bit mode? ---------------------------------------------------------------------- Mr.Madguy · 2021-12-03 06:26 Unfortunately, I don't think it's implemented in Lazarus. But if you don't care about staying cross-platform, you can still do it directly via CreatePalette, RealizePalette, SelectPalette and DeleteObject, while assuming, that Canvas.Handle - is actually HDC. ---------------------------------------------------------------------- pixel_ · 2021-12-03 19:58 Thank you. I would like to know if cross-platform solution exist? I have installed Linux.