ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 TIEBitmap needs maual release?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

freeshoot8

10 Posts

Posted - Oct 07 2021 :  23:01:37  Show Profile  Reply
TIEBitmap needs maual release?

xequte

38180 Posts

Posted - Oct 08 2021 :  00:16:21  Show Profile  Reply
Yes, you should free it after use, e.g.

// Convert BMP file to JPEG
bmp := TIEBitmap.create();
try
  bmp.Read( 'D:\image.bmp' );
  bmp.Write( 'D:\image.jpg' );
finally
  bmp.Free;
end;


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: