Try;

Bitmap := TBitmap.Create;
// Set height, width
Bitmap.Width := SomeWidth;
Bitmap.Height := SomeHeight;

// Write to Bitmap.Canvas

Bitmap.SaveToFile (Filename);
// or
Bitmap.SaveToStream (SomeStream);

Note that this method will always create bitmaps that are compatible with
your display only.  Use DIB if you want device independent bitmaps.

Regards,
Dennis.

> -----Original Message-----
> has anyone ever done anything with creating bitmaps from
> scratch and saving
> them to disk?  I am not interested at this stage in printing them.  I
> suppose the answer I'll get is to buy something like
> LeadTools :-)  Does
> anyone have any website suggestions?

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to