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?
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.

 

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)

 

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.