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
 Not enough memory - error when rotate
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

LikeMike

Spain
13 Posts

Posted - Oct 30 2022 :  10:24:51  Show Profile  Reply
Hello!
When I use the rotate-method of an TImageEnView (f.ex.
Img.Proc.Rotate(315);
) with big images (5000 px x 5000 px) I get an "Not enough memory" error. Is there a workaround for that? Would this work better with 64-Bit target platform?

Thanks it advance
Mike

xequte

38611 Posts

Posted - Oct 30 2022 :  17:21:52  Show Profile  Reply
Hi Mike

Rotating a 5000x5000 image by 15 deg. with Fast anti-aliasing requires a memory block of 150MB.

You should get a better result with no anti-aliasing:

ImageEnView1.Proc.Rotate( 315, ierNone );


Or even ierBilinear or ierBicubic.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

LikeMike

Spain
13 Posts

Posted - Oct 31 2022 :  08:21:24  Show Profile  Reply
Hello! Thank u very much. This is working now. Regards!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: