Skip to content

S4adam/Save-Image-as-Type-2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icon Save Image as Type v2

Fork of src (authored by image4tools which has since been removed, read more below).

About

Tired of having saved images as .webp type? Save Image as Type v2 is a Chrome extension which adds an option "Save as PNG/JPG/WebP/GIF/BMP" to the context menu on right-clicking any image.

The original extension was removed from the Chrome Web Store for containing spyware (thanks @Adam Conway for the detailed write-up!). This fork is the successor that's 100% local, with zero tracking, zero analytics, and no external servers or injection scripts. All processing happens locally in your browser. The extension is extremely lightweight at roughly 220 KB!

Save-Image-as-Type-Screenshot

Supported Formats

  • PNG, JPG, WebP: native HTML5 Canvas conversion.
  • BMP: 32-bit BMPs with transparency support.
  • GIF: convert animated WebP & APNG files.
  • Note: AVIF support is excluded as it would require bundling a WebAssembly encoder.

Action-loading

Extension Options

There are various options you can customize via the options page:

  • Toggle which formats appear in the right-click menu.
  • Enable instant downloading (skips the "Save As" dialog).
  • Set default filename prefixes.
  • Define download sub-folders.
  • Limit maximum filename lengths.
  • Set a memory limit for GIF conversions.

Options-page

"Access to all" permission

This extension requires the <all_urls> permission, which Chrome displays as "Read and change all your data on all websites".

Sadly, it has to be used to bypass CORS restrictions, otherwise the extension would fail reading pixel data from images hosted on some popular CDNs (like Google User Content).

Installation

Option 1: Chrome Web Store

The easiest way to use the extension is to install it directly from the official store:

  1. Visit the Chrome Web Store page.
  2. Click the Add to Chrome button.

Option 2: Manual Installation (via Developer Mode)

If you want to run the extension from source code:

  1. Download and extract the ZIP file from github releases.
  2. Open Chrome and navigate to chrome://extensions/.
  3. Enable Developer mode (toggle in the upper right corner).
  4. Click Load unpacked in the upper left corner.
  5. Select the extracted extension folder from your computer.

The extension should now be installed successfully.

Extensions View

Acknowledgments

License

This project is licensed under the GNU General Public License v2.0.

About

Save Image as Type is an extension that adds "Save as PNG / JPG / WebP / GIF / BMP" option to the context menu for images.

Resources

License

Stars

Watchers

Forks

Contributors