Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, March 27, 2008 11:13:57 PM(UTC)
Kamalavannan

Groups: Registered
Posts: 1


I used the cropcommand class to crop a selected portion of the image using predefined X and Y coordinates.  If the co-ordinates are predifined, I am getting the proper cropped image. But when I crop using the Mousepointer and drag a rectangle over the image, the image gets zoomed and the co-ordinates that I get are misleading.  What should I do to avoid zoom while cropping (i.e drawing a rectangle over the image or dragging the Mouse pointer over the image)
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Friday, March 28, 2008 7:31:23 AM(UTC)

jigar  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

The zooming is probably caused by the image being displayed at 96dpi when the actual dpi of the image could be 150, 300, etc.  Do you have RasterImageViewer.RasterPaintProperties.UseDpi set to true?  If so, set it to false and see if you get the same issue.
 
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.103 seconds.