Changeset 50 for trunk/Forms
- Timestamp:
- Dec 3, 2021, 7:06:14 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormContact.pas
r49 r50 307 307 try 308 308 JpegImage.LoadFromStream(Stream); 309 ImagePhoto.Picture.Bitmap.Clear; 310 ImagePhoto.Picture.Bitmap.SetSize(JpegImage.Width, JpegImage.Height); 311 ImagePhoto.Picture.Bitmap.Canvas.Draw(0, 0, JpegImage); 309 with ImagePhoto.Picture.Bitmap do begin 310 PixelFormat := pf24bit; 311 SetSize(JpegImage.Width, JpegImage.Height); 312 Canvas.Draw(0, 0, JpegImage); 313 end; 312 314 ProfilePhotoActive := True; 313 315 except
Note:
See TracChangeset
for help on using the changeset viewer.