This is a Chromium extension that adds options to save images as PNG or JPG directly from the context menu.
This project is a stripped-down fork of the original Save-Image-as-Type extension. The primary goal of this fork is to enhance privacy and user security by minimizing the permissions required and streamlining the functionality.
- Adds "Save Image as PNG" or "Save Image as JPG" options to the context menu for images.
- Supports direct saving of images with minimal user interaction.
-
Optional Host Permissions: The extension uses optional host permissions, allowing users to grant access only when needed. By default, the extension will request permissions on a per-click basis, meaning it will have access the sites required for downloading the image. Note if the image is cross-site it will need permissions for each site in the chain.
-
Minimal Permissions: This fork opts to use only the
"scripting"
and"contextMenus"
permissions. This means that the extension only has access to the current tab when the user interacts with it, ensuring a more secure experience. -
Removal of Offscreen Functionality: The offscreen document functionality has been removed due to piracy concerns. The previous implementation, which allowed for processing images in an offscreen context, could potentially expose users to unwanted risks. By eliminating this feature, the extension focuses solely on the core functionality of saving images with increased security.
When you install this extension, it will request permissions on a per-click basis. This means that the extension will only have access to the current site when you actively use it.
If you wish to avoid the per-click permission request, you should consider using the original extension, as this fork privacy focused.
This extension has been tested on Chromium version 129.0.6668.70. While this is the minimum version specified, lower versions of Chromium may still work. However, functionality cannot be guaranteed on versions below this threshold.
- Download the ZIP file: Go to the Releases page to download the latest release ZIP file or clone/download the repository as a ZIP.
- Enable Developer Mode: Open your Chromium browser and navigate to the extensions page.
- Load the Extension:
- Method 1: Drag and drop the downloaded ZIP file directly into the extensions page.
- Method 2: Click "Load unpacked" and select the directory where you extracted the ZIP file or where you cloned the repository.
- Right-click on any image on a webpage.
- Select "Save Image as PNG" or "Save Image as JPG" from the context menu.
- Choose the desired location and save the image.
This project is licensed under the GNU General Public License. See the LICENSE file for details.
Thanks to Cuixiping for the original work on the Save-Image-as-Type extension, which inspired this project.