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
 Free GetTIEBitmap when a command line paramiter?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

rswyman@docuxplorer.com

USA
156 Posts

Posted - May 08 2015 :  06:15:02  Show Profile  Reply
Hi All,

When passing GetTIEBitmap as a parameter how does the bitmap memory need to be freed?

e.g.
SetCompressParams(ImageEnMView.GetTIEBitmap(iList[i]), ImageEnMView.MIO.Params[iList[i]]);

w2m

USA
1990 Posts

Posted - May 08 2015 :  06:43:50  Show Profile  Reply

SetCompressParams(ImageEnMView.GetTIEBitmap(iList[i]), ImageEnMView.MIO.Params[iList[i]]);
try
  ...
finally
  ImageEnMView1.ReleaseBitmap(iList[i]);
end;


Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: