Load image make change and save back to database

4 posts, 1 answers
  1. Paul
    Paul avatar
    26 posts
    Member since:
    Jan 2012

    Posted 16 May 2013 Link to this post

    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
  2. Paul
    Paul avatar
    26 posts
    Member since:
    Jan 2012

    Posted 21 May 2013 Link to this post

    Can anyone from Telerik tell me if this is possible with your controls please.

    Thanks
    Paul
  3. UI for WPF is Visual Studio 2017 Ready
  4. Answer
    Vessy
    Admin
    Vessy avatar
    1385 posts

    Posted 21 May 2013 Link to this post

    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.

  5. Paul
    Paul avatar
    26 posts
    Member since:
    Jan 2012

    Posted 21 May 2013 Link to this post

    Thank you Veselina
Back to Top