Image Editor File Type and Compression

2 posts, 0 answers
  1. Tony
    Tony avatar
    12 posts
    Member since:
    Jan 2008

    Posted 08 Feb 2012 Link to this post

    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?

  2. Rumen
    Rumen avatar
    12782 posts

    Posted 13 Feb 2012 Link to this post

    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,
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft R3 2016 release webinar banner
Back to Top