Unplanned
Last Updated: 24 Jun 2021 22:58 by Cypher
Cypher
Created on: 12 Jun 2021 15:40
Category: ImageEditor
Type: Feature Request
1
ImageEditor always saves images in the PNG format regardless of the loaded file format.


<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)

 

4 comments
Cypher
Posted on: 24 Jun 2021 22:58

My Apologies Tsvetomir, I misinterpreted your words.

Regards

ADMIN
Tsvetomir
Posted on: 24 Jun 2021 12:04

Hi Netty,

Thank you for your feedback! Indeed, the current Feature Request is approved, however, it has not yet been included in the plannings for the upcoming releases. 

Also, I apologize for not being very clear in my previous response. By the sentence that it was not affecting you, I meant that the conversion of the feedback item from a bug report to a feature request doesn't affect you.

Nonetheless, I completely agree with you that the lack of options for image extension during a save affects the users. 

 

Best regards,
Tsvetomir
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Cypher
Posted on: 18 Jun 2021 14:18

Hi Tsvetomir,

I hope the feature request will be accepted and implemented very soon.

I'm sorry but I have to disagree with your statement that the issue is not affecting users. As far as we are concerned, the increase in file size is a blocking issue. We currently have user images on a website with a 2MB file size restriction. We are using the ImageEditor to allow users to edit their images and to upload them back. As mentioned in my previous post, a JPG image of 1MB is converted to a 6MB PNG. After saving such file, the user cannot upload them back again due to the file size restriction.

Once again, I hope this issue will be fixed as soon as possible.

Thanks very much for your help and comprehension.

Regards

 

ADMIN
Tsvetomir
Posted on: 18 Jun 2021 11:20

Hi,

Thank you for sharing your idea. Indeed, currently, the widget exposes only a single file type extension for saving. I have converted the thread to a Feature Request as the export behaves correctly, it only lacks the option of choosing the file extension for saving. This conversion does not affect you by any means.

 

Best regards,
Tsvetomir
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.