Forum > Ported from Delphi/Kylix
lazarus TBitmap have no Palette property
(1/1)
alexraynepe196:
Hallow!
try build some delphi code, and stucks at Tbitmap.Palette - LCL version have it as protected.
Is it normal lazrus-way?
haw can i asccess to bitmap palette?
marcov:
Paletted images are rarely used nowadays. It was a bigger issue with win95/8 which often was in 256 color mode.
Do you really process palletted images?
Thaddy:
The old hack cast? I.e. derive from TBitmap and make the palette public.
Do not use the class but use as a hardcast.
Navigation
[0] Message Index