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.
Unfortunately, activation email could not send to your email. Please try again.

How to save edits and load them in the ImageEditor

 

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

Article ID: Published Date: Last Revised Date: Platform: Control:
8572 03/07/2018 09/19/2018 Xamarin.Forms SfImageEditor
Did you find this information helpful?
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
Add Comment
You must log in to leave a comment

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.