This is a migrated thread and some comments may be shown as answers.

crop

2 Answers 157 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Aziz
Top achievements
Rank 1
Aziz asked on 22 Mar 2012, 03:58 PM
I find the crop feature really anoying.

you click crop then draw a box, then press enter to crop it.... thats not how image editing works.

if your cursor is over the image you should be able to draw a box then click crop and have it crop to that area...

or have it so when you click crop you get a overlay dialog with a 'crop' button as its not really user friendly on how to do this.

Is there a way to override the crop button so that when you click it a button appears to 'confirm'. That way the user knows how to actually crop the image?

A suggestion i can make for future improvement is take a look at Easypainter as its silverlight image editing and its amazing. unfortunately its written in SL3 and you cant get the code but still it show much better functionality.

2 Answers, 1 is accepted

Sort by
0
Ivailo Karamanolev
Telerik team
answered on 26 Mar 2012, 10:04 AM
Hello,

Thank you for your feedback. We don't plan on changing the behavior of the crop tool, but you can implement a crop tool with the desired behavior.
When adding the crop button to RadImageEditorUI, it will look something like that in XAML:
<telerik:ImageToolItem ImageKey="Crop" Text="Crop"  Command="commands:ImageEditorRoutedCommands.ExecuteTool">
    <telerik:ImageToolItem.CommandParameter>
        <tools:CropTool />
    </telerik:ImageToolItem.CommandParameter>
</telerik:ImageToolItem>
Here, you can see the reference to the built-in CropTool. You can create your custom tools as described in this article: http://www.telerik.com/help/silverlight/radimageeditor-features-commands-and-tools.html .
In your custom tool, you can wrap the default functionality, adding your own tweaks or build the tool yourself to achieve maximum flexibility.
Let us know if you experience any other issues.

Kind regards,
Ivailo Karamanolev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Dhanunjaya Rao
Top achievements
Rank 1
answered on 06 Jun 2012, 08:45 AM
Hi,

        I want to customize the crop functionality, If I drag the width, it has to customize the height based on width size i.e on aspect ratio. If I drag the height, it has to customize the width based on height size.  Hope you understood my problem.
I am using <telerik:RadImageEditorUI ... control
Please help me where can I handle the this.

How to use constrain proportions like telerik web ImageEditor control in Silverlight (<telerik:RadImageEditorUI .. control)
Plese look into the site: http://demos.telerik.com/aspnet-ajax/imageeditor/examples/crop/defaultcs.aspx 

Thanks in advance
Dhanunjaya
Tags
ImageEditor
Asked by
Aziz
Top achievements
Rank 1
Answers by
Ivailo Karamanolev
Telerik team
Dhanunjaya Rao
Top achievements
Rank 1
Share this question
or