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
 IEvolution: Crop function doesn't work

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
Deeron Posted - Jun 21 2020 : 12:04:51
Hello,

IEVolution .NET 8.0.0.0 (WinForms, C#)

My basic problem:

I want to cut an image from the source image using only coordinates (no mouse interaction, no mouse selection).

IEVolution.Image.Crop(x1, y1, x2, y2);
It doesn't seem to work.

Did any settings escape my attention?
What else should I do to make this work?

An interesting thing:
Image rotation works.
e.g.: IEVolution.Image.Rotate (45, false);


Deeron
4   L A T E S T    R E P L I E S    (Newest First)
Deeron Posted - Jun 22 2020 : 11:35:55
Hi Nigel,

Thanks for the help,
so the crop function works.

Regards,
Deeron
xequte Posted - Jun 22 2020 : 01:41:00
Hi Deeron

Please note the parameters specify the rect to keep, so the x2 and y2 values must be > than the x1, y1, i.e

Crop( 1329, 518, 1447, 657 )

Nigel
Xequte Software
www.imageen.com
Deeron Posted - Jun 21 2020 : 18:39:08
Hi Nigel,

Yes, the image does not change at all.

Size of the source image is 1599 x 1010.
The Crop function parameters are 1329, 518, 118, 139
xequte Posted - Jun 21 2020 : 16:19:07
Hi Deeron

So, the image does not change at all? What is the size of the image and your values for x1, y1, x2, y2?

Nigel
Xequte Software
www.imageen.com