Save() have to be overload to return the byte array or stream

Currently Save() execute a saving like the component is it's own application, while the developers doesnt seems to have a way to receive the content of the result image.

I believe that Save() should return either a byte array or Stream, or at least to be overloaded to do so.


3 Replies 1 reply marked as answer

VR Vignesh Ramesh Syncfusion Team December 27, 2021 10:33 AM UTC

Hi Yordan, 

Greetings from Syncfusion. 

We have checked your query and would like to inform you that, we can get the current image edits as stream from the ImageSaving event argument Stream. Also, we can restrict saving the image to the default location using this ImageSaving event argument Cancel. Please find the below user guide information for more information about ImageSaving event of SfImageEditor. 


Please let us know if you need any further assistance. 

Regards, 
Vignesh Ramesh. 


Marked as answer

YO Yordan January 4, 2022 02:24 PM UTC

Thank You  Vignesh Ramesh!

This fixed the issue.



ET Eswaran Thirugnanasambandam Syncfusion Team January 5, 2022 06:21 AM UTC

Hi Yordan Yanakiev, 
 
Thanks for your update, 
 
Let us know, if you need further assistance. 
 
Regards, 
Eswaran 


Loader.
Up arrow icon