Einzelnen Beitrag anzeigen

Mattze

Registriert seit: 6. Jan 2005
664 Beiträge
 
#3

Re: Gibt es eine Image.picture.bitmap?

  Alt 31. Jan 2009, 16:30
Nee,

ich glaube nicht!
Noch mal am konkreten Beispiel zum Problem:
Ich lade eine png-Graphic per GraphicEx in Image1.picture.graphic.
Diese Graphic hat (komischerweise) eine Bitmap-Entsprechung in
Image1.picture.bitmap. (Z. B. kann man da ohne Probleme Image2.picture.assign(image1.picture.bitmap) machen!
Ich lade jpg (ohne GraphicEx). Da gibt es keine Bitmap-Entsprechung (Image1.picture.bitmap.handle=0).

Wie kriege ich im geladenen Image1 raus, ob es nun eine Bitmap hat oder nicht?

Sobald ich Image1.picture.bitmap (.handle<>0) abfrage, ist Image1 nicht mehr
"bedienbar". Z. B. geht dann kein image1.refresh mehr!

Gruß
Mattze
  Mit Zitat antworten Zitat