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
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
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
Fast Base64 encoding/deco...
by
mikerabat
[
Today
at 03:05:26 pm]
Hole punching - Step by S...
by
Warfley
[
Today
at 03:04:20 pm]
Are We Dead Yet?
by
Martin_fr
[
Today
at 02:58:15 pm]
Letters chopped off in hi...
by
Martin_fr
[
Today
at 02:48:07 pm]
Error in Sway
by
AlexTP
[
Today
at 02:02:39 pm]
Default and speed effect
by
Okoba
[
Today
at 01:39:38 pm]
LazPaint (alpha-blending,...
by
circular
[
Today
at 11:49:46 am]
Changes in "Search Result...
by
Martin_fr
[
Today
at 11:44:47 am]
Touchscreen selecting rec...
by
Jon Trepte
[
Today
at 11:44:03 am]
Would folks find these mi...
by
wp
[
Today
at 11:42:15 am]
Clean up at ide/include/i...
by
JuhaManninen
[
Today
at 11:34:06 am]
Code clean up at TFontMan...
by
wp
[
Today
at 11:09:11 am]
Why is the rectangle the ...
by
Tomi
[
Today
at 10:56:24 am]
SQLite check if record ex...
by
Чебурашка
[
Today
at 10:45:38 am]
PostgreSQL: typeinfo erro...
by
SymbolicFrank
[
Today
at 10:31:23 am]
How to use the Event Log?
by
WooBean
[
Today
at 09:13:35 am]
[SOLVED] SQLite Unique
by
Pe3s
[
Today
at 09:00:12 am]
Help for downloand file
by
Jurassic Pork
[
Today
at 08:33:10 am]
how to download fulling f...
by
greenzyzyzy
[
Today
at 04:12:30 am]
help choosing laptop
by
Weiss
[
Today
at 03:11:56 am]
using the create_lazarus_...
by
jshand2010
[
Today
at 02:01:04 am]
LAMW - simple esc/POS pri...
by
jmpessoa
[
Today
at 01:51:58 am]
Installing GDB on MAC OS ...
by
Martin_fr
[
Today
at 01:49:44 am]
Is Meta programming possi...
by
Joanna
[May 31, 2023, 11:57:27 pm]
[Solved] Dark mode in app...
by
d7_2_laz
[May 31, 2023, 11:28:56 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: lazarus TBitmap have no Palette property (Read 2381 times)
alexraynepe196
New Member
Posts: 26
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: 10715
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: 12972
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
I actually get compliments for being rude... (well, Dutch, but that is the same)
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
Ported from Delphi/Kylix
»
lazarus TBitmap have no Palette property
TinyPortal
© 2005-2018