Thema: Delphi löschen eines images

Einzelnen Beitrag anzeigen

hboy

Registriert seit: 16. Jan 2004
364 Beiträge
 
#18

Re: löschen eines images

  Alt 3. Feb 2004, 17:10
pixelformat setzen!

Delphi-Quellcode:
 pic:=TBitmap.Create;
  pic.PixelFormat:=form1.Image1.Picture.Bitmap.PixelFormat;
  pic.Width:=form1.Image1.Picture.Bitmap.Width;
  pic.Height:=form1.Image1.Picture.Bitmap.Height;
  pic.Pixelformat := pf24bit;
Power is nothing without TControl
  Mit Zitat antworten Zitat