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 and AutoCrop
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Uwe

284 Posts

Posted - Mar 14 2014 :  11:30:24  Show Profile  Reply
Is there any way to make AutoCrop work with an in-memory TIEBitmap?
D2010 Pro, ImageEn 4.3.0

Thanks
Uwe

xequte

38611 Posts

Posted - Mar 16 2014 :  13:15:07  Show Profile  Reply
How about...

with TImageEnProc.CreateFromBitmap(myBitmap) do
begin
  AutoCrop(10, CreateRGB(0,0,0) );
  Free;
end;


MyBitmap can be a TBitmap or TIEBitmap.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

Uwe

284 Posts

Posted - Mar 16 2014 :  13:49:16  Show Profile  Reply
Duh ... :)

Thanks, Nigel.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: