Need a .PNG option please. :)
Opened this issue · 2 comments
I really need a .PNG option please. Hello Erisa, thank you for creating this cool extension, its so useful & saves a lot of time! :) I use it a ton. But PNG is superior to JPG, and i do a lot of cropping & editing, etc. So I would really like this extension, (if okay with you) to have a simultaneous PNG & JPG option? Here is an extension created by www.github.com/Rob--W , that saves PNG, but it always asks "save as" file naming option, which is annoying.
-I know this isnt an "Issue" category per se, but you dont have a "Discussion" tab here that i can post at. And me posting this here will also allow it to be found via google,etc by other people looking for such a cool tool as yours, whether JPG or PNG. -Thanks!
https://chrome.google.com/webstore/detail/save-image-as-png/nkokmeaibnajheohncaamjggkanfbphi
Hi @Intellectual234! Apologies for the late response.
but you dont have a "Discussion" tab here that i can post at
I've enabled that now.
But PNG is superior to JPG, and i do a lot of cropping & editing, etc. So I would really like this extension, (if okay with you) to have a simultaneous PNG & JPG option?
Converting an image to PNG that is already a compressed JPG will not do anything to increase its quality or portability, so I'm not 100% sure on the use-case there, sorry. The linked extension mentions conversion from Webp which is actually a more fair point since PNG has greater portability.
The original intent behind this extension was to be a simple tool for functioning the same as the "Save as" button except without showing it. It achieves that nicely and the code is relatively simple, fitting within my limited skill-set of writing JavaScript. Unless there is a very simple library I can import and borrow, I fear that adding an option to convert between file formats will complicate the project and involve additional complexity that I do not necessarily have the skills or time for.
Happy to leave this issue up though, in case someone else wants to try and implement this in future, or if I change my mind at any point.
Converting an image to PNG that is already a compressed JPG will not do anything to increase its quality or portability, so I'm not 100% sure on the use-case there, sorry.
As I've already said, I often crop photos & edit them from the internet, so its easier for me to download it initially to PNG automatically so i dont have to do it later.
If I crop a jpg & save it as jpg again, that would compress/process it again(loses quality), if i dont convert it to PNG beforehand/initially.
Unless there is a very simple library I can import and borrow,
I've already linked to a PNG converter extension, the code should be pretty easy to copy, i dont know how to do it. You could also create a PNG fork of your extension. And based on my experience with that extention, it converts all internet photos to PNG, not just Webp.
Also lastly, your extension doesnt skip the "save as" prompt on ChromeOS, but does for windows & Ubuntu. Not sure what can be done about that, just letting you know.