une 2000 3:21 p.m.
To: Multiple recipients of list delphi
Subject: RE: [DUG]: JPEG to Bitmap
Thanks, that worked like a charm, another question i have had, is, when I
view the bitmap on my screen canvas, using a TImage, the bitmaps don't
usually look very good, why is this. The colours dont
ECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Max Nilson
Sent: Thursday, 1 June 2000 11:06 a.m.
To: Multiple recipients of list delphi
Subject: RE: [DUG]: JPEG to Bitmap
Jason Coley asked:
> So is there a way to convert the JPEG to a BMP in Delphi,
> I'm using D3.
The code I used
Jason Coley asked:
> So is there a way to convert the JPEG to a BMP in Delphi,
> I'm using D3.
The code I used (in Delphi 5) is:
Bitmap := TBitmap.Create;
Bitmap.PixelFormat := pf24Bit;
Bitmap.HandleType := bmDIB;
Bitmap.Width := Picture.Width;
Bitmap.Height := Picture.Height;
Bitma