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

Image Editor File Type and Compression

1 Answer 41 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 2
Tony asked on 08 Feb 2012, 09:23 PM
It appears the image editor is saving images as .png files. Is there a way to save it as other file types (.jpg, .gif, etc). Also when saving as .jpg is it possible to set the compression/optimization?

Thanks,
Tim

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 13 Feb 2012, 12:21 PM
Hi Tim,

RadImageEditor does not offer these features out-of-the box, but you can attach to the OnImageSaving server event of the control, get reference to the edited image and using the .NET API to save it with the desired extension and compression.

You can also see in this live demo how to create a custom server command and modify the edited image on the server. You can try to implement your scenario in a similar way.

Kind regards,
Rumen
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
ImageEditor
Asked by
Tony
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Share this question
or