This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Saturday, September 5, 2009 7:29:58 AM(UTC)
Groups: Registered
Posts: 4
Hi,
I want to develope an web application where the user can crop the portion of the image he want. The cropped region should be displayed in a separate image control the moment he releases the mouse.
I have used the Lead Tools Crop command to display the default cropped portion. On load of the web page the Cropped portion will be displayed in the separate image control.
If the user is not satisfied he can crop the desired portion of the image using mouse.
Can anyone provide me a sample code to implement the above scenario?
#2
Posted
:
Sunday, September 6, 2009 5:05:40 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
What LEADTOOLS control are you using in your web application to view the images?
Do you want to create a thin client web application or a thick client?
Will the images be stored on the server side or the same machine where the image is displayed (client side)?
#3
Posted
:
Wednesday, September 9, 2009 12:22:40 AM(UTC)
Groups: Registered
Posts: 4
I am using normal asp:image control to display the image. For default cropping i have used the Crop Command available in Lead Tools.
The web application is of type Thin Client.
The Image should be stored in Database in the Server. To display the cropped image in the client machine i am storing it in a local path, when the user clicks save button cropped image is stored in DB and delete the items in the local path.
Thanks For your Response
#4
Posted
:
Wednesday, September 9, 2009 4:42:07 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Although you might be able to write a JavaScript that will capture the mouse coordinates and send them "somehow" to the server side. However, I don't expect this to be easy.
Your alternative would be to use a rich-client application. For example embed our .NET RasterImageViewer in a .NET user control.
You can check the "Embed our WinForms Control (RasterImageViewer) in a Web IE" example from the following link:
http://support.leadtools.com/SupportPortal/CS/forums/15977/ShowPost.aspxEdited by moderator Thursday, November 10, 2016 7:22:03 PM(UTC)
| Reason: Not specified
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.