We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to save edits and load them in the ImageEditor

Platform: Xamarin.Forms |
Control: SfImageEditor |
Published Date: March 7, 2018 |
Last Revised Date: September 19, 2018

 

ImageEditor allows you to save the edits over the image and load them in image editor whenever we need them.

 

Step 1: Create image editor sample with all necessary assemblies.

 

Please refer the below link to create a simple SfImageEditor sample along with the ways to configure it.

 

https://help.syncfusion.com/xamarin/sfimageeditor/getting-started

 

Step 2: Use the SaveEdits method to save the changes we performed over the image. LoadEdits method will load the same edits that were edited previously. So, we can reuse the same.

 

The following code snippet illustrates how to achieve this.

 

Xaml:

 

 

C#

 

 

 

Sample link:

    http://www.syncfusion.com/downloads/support/directtrac/general/ze/Serialization-70860765.zip

 

Screenshot:

 

C:\Users\samkumar.arivazhagan\AppData\Local\Microsoft\Windows\INetCache\Content.Word\new-min.gif

ADD COMMENT
You must log in to leave a comment
Comments
Dr Hani
Sep 18, 2018

This works except for ShapeType.Path which saves okay (as circles) but does not display on load. All other saved edits load properly.

Reply
Dr Hani
Sep 26, 2018

Fixed in version 16.3.0.21

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon