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.