Autor Beitrag
Grolle
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 95

Win XP, Win 7
Delphi 2010 Pro
BeitragVerfasst: Mi 08.06.05 12:52 
Hallo!
Ich lade mit
ausblenden Delphi-Quelltext
1:
ImageList2.GetBitmap(0, Image1.Picture.Bitmap);					

ein Bitmap zur Laufzeit aus einer ImageList. Dieses hat komischerweise
einen weißen Rand. Wie bekomme ich den weg? Transparent bei Image
steht auf true.
Viele Grüße: Grolle
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mi 08.06.05 13:16 
Moin!

Ich hab das über den Icon-"Umweg" gemacht:

ausblenden Delphi-Quelltext
1:
Image1.GetIcon(0,ImageList1.Picture.Icon);					


cu
Narses
Grolle Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 95

Win XP, Win 7
Delphi 2010 Pro
BeitragVerfasst: Mi 08.06.05 13:47 
Undefinierter Bezeichner GetIcon :gruebel:
Warum das?

Greetz: Grolle
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mi 08.06.05 14:05 
Moin!

Sorry, verkehrtrum... :? :wink:

ausblenden Delphi-Quelltext
1:
ImageList1.GetIcon(0,Image1.Picture.Icon);					


cu
Narses
Grolle Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 95

Win XP, Win 7
Delphi 2010 Pro
BeitragVerfasst: Mi 08.06.05 14:08 
:wave: Danke!
mmmichael
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 27.11.05 14:36 
Titel: Gleiches Problem, suche neue Lösung!
Hallo! ich hol dies thema mal zurück an die oberfläche der öffentlichen wahrnehmung weil:

Ich hab das gleiche Problem und kann das aber nicht über icons lösen, da hierbei immer eine ecke meines bildes (55x55,transparent) weggeschnitten wird. (gibt es eine maximalgröße für icons?)

Deshalb würde ich das gerne mit ImageList1.GetBitmap machen und bekomme hier besagten weißen rand. in der imagelist wird das bild transparent angezeigt und das image ist auch auf transparent := true gesetzt.

Bitte um Rat!