This is a migrated thread and some comments may be shown as answers.

Why is ImageEditor saving in png format when the source image was in jpg format?

1 Answer 100 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
SUNIL
Top achievements
Rank 2
Iron
SUNIL asked on 21 Mar 2020, 08:13 AM

I am noticing a strange thing with RadImageEditor (2015 Q3 version).

When the ImageUrl is set to something like '..../xyz.jpg' then image editor saves the image in jpg format.

But, when ImageUrl is set to something like '.../xyz.jpg?ts=435719433' then image editor saves the changes in png format and not jpg format.

I expected image editor to save it in same format as original image's format.

Why is this happening and is there a way to tell image editor to save it in the original file format?

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 26 Mar 2020, 10:05 AM

Hi SUNIL,

Thank you for reporting this issue. The query string prevents the ImageEditor to get the proper extension from the fileName, thus the image is saved with the default PNG format. I have logged this issue for a further investigation and you can track its progress here:

https://feedback.telerik.com/aspnet-ajax/1459255

In addition, I have also updated the Telerik points of your account.

Regards,
Vessy
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
ImageEditor
Asked by
SUNIL
Top achievements
Rank 2
Iron
Answers by
Vessy
Telerik team
Share this question
or