Einzelnen Beitrag anzeigen

shmia

Registriert seit: 2. Mär 2004
5.508 Beiträge
 
Delphi 5 Professional
 
#2

Re: Bitmap aus Array selbst erstellen und speichern

  Alt 13. Aug 2007, 11:04
Warum so umständlich? Nimm doch einfach die Klasse TBitmap.
So ganz grob:
Delphi-Quellcode:
var
  bm : TBitmap;
begin
  bm := TBitmap.Create;
  bm.Width := 300;
  bm.Height := 200;
  bm.Pixelformat := pf24bit
  bm.Canvas.Pixel[10,20] := clRed;

  bm.SaveToFile(...);
Andreas
  Mit Zitat antworten Zitat