LEADTOOLS Support
Imaging
Imaging SDK Questions
CenterImage AND AutoRepaint = True ... don't allow Crop
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Sunday, December 24, 2006 7:31:29 AM(UTC)
Groups: Registered
Posts: 4
I'm using LEADTOOLS 14
I cant crop images when this properties are TRUE
CenterImage = True
AutoRepaint = True
What's wrong ?
#2
Posted
:
Monday, December 25, 2006 7:01:41 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Try setting CenterImage to True after you Trim. This worked for me.
#3
Posted
:
Tuesday, December 26, 2006 6:04:03 AM(UTC)
Groups: Registered
Posts: 4
Yes I Know, but I m want a centered image. Look beter on the screen.
I solve this problem using a trick; obviously will be much better and easy if CenterImage work fine.
Thank you
#4
Posted
:
Thursday, December 28, 2006 4:01:49 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
When you center the image, its destination rectangle changes.
Therefore, you will need to conver the rubber bands coordinates from
client to bitmap coordinates. See the attached sample.
LEADTOOLS Support
Imaging
Imaging SDK Questions
CenterImage AND AutoRepaint = True ... don't allow Crop
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.