![]() |
Bitmap und Transparent
Delphi-Quellcode:
Hallo und frohes neues JahrImage.Picture.Bitmap.Assign( EineBitmap ); Image.Picture.Bitmap.TransparentColor := Canvas.Pixels[1,1]; // Weiss ich brauche ich nicht Image.Picture.Bitmap.Transparent := true; Image.Picture.Bitmap.TransparentMode := tmFixed; Image.Transparent := true; ich sehe den Wald vor lauter Bäumen nicht. Da sollte doch die Bitmap im TImage transparent sein, welche die Farbe am Punkt 1 ,1 hat. Ist sie aber nicht. Martin Michael |
AW: Bitmap und Transparent
Bist Du sicher, dass Du den richtigen Canvas auswertest? :zwinker:
|
AW: Bitmap und Transparent
Gute Frage!
Aber das hört sich gut an. Wird der Canvas vom TForm sein |
AW: Bitmap und Transparent
Habe es jetzt rausbekommen
es war eine 32 bit Bitmap, keine Transparent, abgeändert in 24 bit und das geht. Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:59 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz