Autor Beitrag
Girgl
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 281


D6 Enterprise
BeitragVerfasst: Di 20.07.04 12:39 
Servus,die Eigenschaft Transparent bei TImage bewirkt irgendwie nix bei mir.Ich hab ein Image auf der Form und will den weissen hintergrund wegkriegen.Hab transparent auf true gestellt,aber er bleibt immer noch da.Wie bekomm ich ihn trotzdem weg?
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: Di 20.07.04 12:42 
Transparent funktioniert meines Wissens nur mit Bitmaps, wenn du also ne JPEG anzeigst, musst die vorher umwandeln. Ansonsten könnte es auch daran liegen, dass der Pixel, den Delphi zur Bestimmung des Hintergrunds benutzt nicht weiß ist (ich glaube der unten links) :roll:

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
Girgl Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 281


D6 Enterprise
BeitragVerfasst: Di 20.07.04 19:29 
also ne bitmap is es auf jeden Fall,muss mal schaun wie das mit dem Farbton dann so is
sourcehunter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 482

Win XP | Suse 10.1
Delphi 2005 Pers.
BeitragVerfasst: Di 20.07.04 21:04 
Du musst warscheinlich TransparentColor auf clWhite stellen.

_________________
Linux und OpenSource rulez!
Girgl Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 281


D6 Enterprise
BeitragVerfasst: Di 20.07.04 22:21 
das is ja des problem,die eigenschaft gibts net
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: Di 20.07.04 22:32 
Image1.Picture.Bitmap.TransparentColor:=clWhite

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
Neidhard von Reuental
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 268

XP
BDS 2006 Prof
BeitragVerfasst: Di 31.08.04 15:13 
Oder du benutzt ein PNG welches Transparenzeigenschaften enthält.
.Chef
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1112



BeitragVerfasst: Di 31.08.04 15:42 
Neidhard von Reuental hat folgendes geschrieben:
Oder du benutzt ein PNG welches Transparenzeigenschaften enthält.

Das nützt nix, weil du auch das PNG ins TImage übertragen musst.

_________________
Die Antworten auf die 5 häufigsten Fragen:
1. Copy(), Pos(), Length() --- 2. DoubleBuffered:=True; --- 3. Application.ProcessMessages bzw. TThread --- 4. ShellExecute() --- 5. Keine Vergleiche von Real-Typen mit "="!