jscher2000 / Save-webP-as-extension

Firefox extension to overlay format and JPEG quality buttons on inline or stand-alone images for quickly saving a converted version of the image.
Mozilla Public License 2.0
32 stars 1 forks source link

Add "AVIF" to the description pages and settings #7

Closed anewuser closed 2 years ago

anewuser commented 2 years ago

The extension seems to work fine with AVIF images too on Firefox 93. You could mention this on the GitHub and AMO description pages.

Also, consider adding this new format to the image/webp only option, or adding a separate checkbox for it.

jscher2000 commented 2 years ago

Sorry, somehow I missed your first suggestion. I just updated AMO now. https://addons.mozilla.org/firefox/addon/save-webp-as-png-or-jpeg/

I will look at the second issue.

jscher2000 commented 2 years ago

I just uploaded version 1.1 which combines images/webp and image/avif for the stand-alone option. Let me know whether that works for you.

anewuser commented 2 years ago

The bar doesn't load automatically when I use the Open Image in New Tab context menu option. Is that a Firefox limitation?

jscher2000 commented 2 years ago

I noticed that. With the normal behavior of opening the tab in the background, it's not running as expected and I have to reload (Ctrl+R) the page. If the tab is opened as the active tab (checking the box for "When you open a link, image or media in a new tab, switch to it immediately" on the settings page), then the script runs. Sounds like something to work on next weekend...

jscher2000 commented 2 years ago

It's kind of obvious in retrospect: I needed to expressly tell Firefox where to inject the toolbar script when it wasn't the active tab. Duh. Hopefully fixed in tonight's upload of version 1.2.

anewuser commented 2 years ago

Thank you!