Autor Beitrag
Timbo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 166



BeitragVerfasst: Fr 30.11.07 15:11 
Hallo,

ich habe ein Bitmap ,mit Photoshop erzeugt. In dem Bild ist ein Alphakanal enthalten, der weiche transparente Übergänge hat. Das Bild hab ich als 32-Bit Bitmap exportiert. Wie kann ich nun in einem Canvas diese transparenten Anteile auch darstellen?

Mit Cancas.Draw werden die transparenten Anteil nicht berücksichtigt...

Vielen Dank.
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Fr 07.12.07 01:17 
Moin!

Die GDI unterstützt AFAIK bei Bitmaps keinen Alphakanal (zumindest die VCL kanns definitiv nicht, nur Maskentransparenz). Schau mal nach Suche in: Delphi-Forum, Delphi-Library TPNGIMAGE, damit solltest du weiter kommen können. :idea: ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.