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
 shrink layer after image crop
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

ZS Tekatec

Poland
18 Posts

Posted - Mar 01 2025 :  08:16:31  Show Profile  Reply
Hi,

I would like to crop image and after that layer should have size = cropped area.
At this moment image is streched to the layer size.




Can you tell me how to do that?

ZS

xequte

38944 Posts

Posted - Mar 01 2025 :  19:19:10  Show Profile  Reply
Hi

Try restoring the aspect ratio after the crop:

http://www.imageen.com/help/TIELayer.RestoreAspectRatio.html

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

ZS Tekatec

Poland
18 Posts

Posted - Mar 02 2025 :  16:23:04  Show Profile  Reply
yes, restoring the aspect ratio it is what I want to get,
but could you tell me how to catch this event "after the crop"?
I thought that I can use OnLayerNotifyEx or OnActionExecute (ImageEnViewToolbar1) but I can't.

ZS
Go to Top of Page

xequte

38944 Posts

Posted - Mar 02 2025 :  19:29:13  Show Profile  Reply
Hi

We've made this occur automatically in the current beta. Please email me for it.



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