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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Not enough memory - error when rotate

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
LikeMike Posted - Oct 30 2022 : 10:24:51
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
2   L A T E S T    R E P L I E S    (Newest First)
LikeMike Posted - Oct 31 2022 : 08:21:24
Hello! Thank u very much. This is working now. Regards!
xequte Posted - Oct 30 2022 : 17:21:52
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