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

Load image make change and save back to database

3 Answers 223 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 16 May 2013, 04:29 PM
Hi

I'm not sure if WPF is the right technology or which Telerik control is best suited for the following scenario, so I would appreciate any recommendations that anyone can give me.

Secnario:

The user will load images from a database that were captured on camera.
The user will need to view at least 4 images at a time and maybe click one to view in full screen.(carousel control?).
The user should be able to draw circle on the image to highlight certain parts of the image.  This image must then be saved back to the database as a copy of the original with the users changes/highlights.

Can this be done in WPF with Telerik controls or can it be done easier with a different technology.

Thanks
Paul

3 Answers, 1 is accepted

Sort by
0
Paul
Top achievements
Rank 1
answered on 21 May 2013, 11:21 AM
Can anyone from Telerik tell me if this is possible with your controls please.

Thanks
Paul
0
Accepted
Vessy
Telerik team
answered on 21 May 2013, 12:56 PM
Hi Paul,

Thank you for your interest in RadImageEditor for WPF!

The scenario you explained should be possible using RadImageEditor and other controls from the suite. Please note that a drawing tool is currently not available. It is possible to implement a custom tool in the manner demonstrated in the Custom Tool demo for RadImageEditor (you can also see it here as the code-base is the same), however the task is not trivial.

Once you obtain the encoded representation of the image from a database, you can use format providers to decode it. After executing the wanted changes you can preserve the modified image to the same or a separate data entry again using a format provider. Note that the undo/redo history will only work while the image is shown in the image editor. In case you change the image in the editor, it will no longer be possible to revert the made modifications.

In addition, I will suggest you to review the RadImageEditor from our ASP.NET AJAX suite. In order to load images from a database in it you will also need to implement a custom content provider but it provides a built-in drawing functionality. You might find useful information on the subject in this blog post and this demo.

I hope this information was helpful for you.
 
Kind regards,
Veselina Raykova
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Paul
Top achievements
Rank 1
answered on 21 May 2013, 01:12 PM
Thank you Veselina
Tags
ImageEditor
Asked by
Paul
Top achievements
Rank 1
Answers by
Paul
Top achievements
Rank 1
Vessy
Telerik team
Share this question
or