Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
Ported from Delphi/Kylix
»
lazarus TBitmap have no Palette property
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
MOVED: Convert a delphi f...
by
trev
[
Today
at 03:49:19 am]
MOVED: Copying a textbox ...
by
trev
[
Today
at 03:46:11 am]
MOVED: Illegal type conve...
by
trev
[
Today
at 03:44:50 am]
MOVED: Adding a new event...
by
trev
[
Today
at 03:44:03 am]
Illegal type conversion s...
by
Fred vS
[
Today
at 02:35:38 am]
snake biting its tail
by
friend
[
Today
at 02:10:33 am]
Copying a textbox also co...
by
dseligo
[
Today
at 01:57:46 am]
resize Form when enable o...
by
eldonfsr
[
Today
at 01:43:31 am]
Get Free space of Disk or...
by
eldonfsr
[
Today
at 01:31:25 am]
Obtener ruta de archivos ...
by
Yoandy Calvelo
[May 26, 2022, 10:58:17 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: lazarus TBitmap have no Palette property (Read 2077 times)
alexraynepe196
New Member
Posts: 21
lazarus TBitmap have no Palette property
«
on:
November 06, 2021, 09:09:36 pm »
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?
Logged
marcov
Administrator
Hero Member
Posts: 9999
FPC developer.
Re: lazarus TBitmap have no Palette property
«
Reply #1 on:
November 08, 2021, 11:24:08 am »
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?
Logged
Thaddy
Hero Member
Posts: 11543
Re: lazarus TBitmap have no Palette property
«
Reply #2 on:
November 08, 2021, 02:08:37 pm »
The old hack cast? I.e. derive from TBitmap and make the palette public.
Do not use the class but use as a hardcast.
Logged
Путин преступник. Россияне дезинформированы.
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
Ported from Delphi/Kylix
»
lazarus TBitmap have no Palette property
TinyPortal
© 2005-2018