Unplanned
Last Updated: 20 Jan 2022 21:03 by Cypher

C# / .NET 5 / Telerik.UI.for.AspNet.Core (V2021.2.511)

 

Dear Telerik,

After opening a JPG file in the Kendo ImageEditor and selecting Save, the image is saved to a .jpg file but in the PNG format instead of the JPG format. This is quite annoying especially because of the increase in file size. For example, a 1MB JPG file is saved to a 6MB PNG file.

Question: How do I request the Kendo ImageEditor to save an image in the same format as the original ?

 

<div class="k-content">
  @(Html.Kendo ().ImageEditor ()
    .Name ("ImageEditor")
    .HtmlAttributes (new { @class = "w-100" })
    .Height (720)
    .SaveAs (PoSaveAs => PoSaveAs.FileName ("Image.jpg"))
    .Toolbar (PoToolbar => PoToolbar.Items (PoItem =>
    {
      PoItem.Add ().Name ("open") ;
      PoItem.Add ().Name ("save") ;

      PoItem.Add ().Name ("undo") ;
      PoItem.Add ().Name (
"redo") ;
      PoItem.Add ().Name (
"resize") ;
      PoItem.Add ().Name (
"crop") ;
      PoItem.Add ().Name (
"zoomIn") ;
      PoItem.Add ().Name (
"zoomOut") ;
      PoItem.Add ().Name (
"zoomDropdown") ;
    })))
</div>
 

Thanks for your help.

 

Unplanned
Last Updated: 05 Nov 2021 08:00 by ADMIN
Created by: Pedro
Comments: 0
Category: ImageEditor
Type: Feature Request
1
Apply a shape and text overlay anywhere on an image while being able to confirm the position. 
Unplanned
Last Updated: 07 Apr 2023 10:09 by Steven
Created by: Steven
Comments: 0
Category: ImageEditor
Type: Feature Request
0
Is it possible to implement the pan-and-zoom feature for the ImageEditor?