Download an Image without PNG conversion
Posted: Wed Aug 24, 2022 4:07 am
Hi, i have a question,
In MiniBrowser there is a "Download Image" example and it works fine, except one thing: it changes the original image.
For example the original file was in jpg, but in this example we do "image.GetAsPng" and the saved file will be:
1. Recompressed (because we take a bitmap from ICefImage and compress it in Png)
2. Saved in the wrong format
Result: size and quality of the image are wrong, sometimes critically.
Is there an option to do real "save as" or real "download" without such damage?
Thank you
In MiniBrowser there is a "Download Image" example and it works fine, except one thing: it changes the original image.
For example the original file was in jpg, but in this example we do "image.GetAsPng" and the saved file will be:
1. Recompressed (because we take a bitmap from ICefImage and compress it in Png)
2. Saved in the wrong format
Result: size and quality of the image are wrong, sometimes critically.
Is there an option to do real "save as" or real "download" without such damage?
Thank you