I have logged it in our feedback portal by creating a public thread on your behalf. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.
I have also updated your Telerik points.
Currently, the possible solution that I can suggest is to replace the button and execute the Save method overload with passed ImageFormat:
private void RadForm1_Load(object sender, EventArgs e)
{
this.radImageEditor1.ImageEditorElement.CommandsElement.SaveButton.Visibility = ElementVisibility.Collapsed;
RadButtonElement saveButton = new RadButtonElement();
saveButton.Image = this.radImageEditor1.ImageEditorElement.CommandsElement.SaveButton.Image;
saveButton.Click += saveButton_Click;
this.radImageEditor1.ImageEditorElement.CommandsElement.TopCommandsStackElement.Children.Insert(1, saveButton);
}
private void saveButton_Click(object sender, EventArgs e)
{
string destinationFilePath = @"..\..\exported.jpg";
this.radImageEditor1.SaveImage(destinationFilePath, ImageFormat.Jpeg);
}
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Regards,
Dess | Tech Support Engineer, Sr.
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/.
When I execute the line below then the image is saved as JPEG. But when I click the Save Image button, and enter filename with .jpg extension, the image is saved as PNG:
this.radImageEditor1.ImageEditorElement.CurrentBitmap.Save(@"<some file path.jpg>", ImageFormat.Jpeg);
Hello, Mihajlo,
RadImageEditor internally uses the Image.Save(string filename, ImageFormat format) method provided by Microsoft for storing an image into different ImageFormats: https://docs.microsoft.com/en-us/dotnet/api/system.drawing.image.save?view=dotnet-plat-ext-3.1#System_Drawing_Image_Save_System_String_System_Drawing_Imaging_ImageFormat_Regards,
Dess | Tech Support Engineer, Sr.
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/.