Duplicated
Last Updated: 20 Jan 2022 12:43 by ADMIN


<div class="k-content">
  @(Html.Kendo ().ImageEditor ().Name ("ImageEditor").SaveAs (i => i.FileName ("Image.jpg")))
</div>

Steps to reproduce:

1. Open a JPEG file in ImageEditor.
2. Save the image.

 

Current behavior:

The image is saved to Image.jpg but the format of the image is the PNG format.

 

Expected behavior:

The image should be saved in the format of the loaded image. In the example above, the image should have been saved in the JPEG format instead of the PNG format.

This is very annoying especially because of the increase in file size. For example, a 1 MB JPG file is saved to a 6 MB PNG file.

 

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