Belun Image Saver
A browser extension for Chrome; the Edge, Firefox and Opera versions will follow. Right-click a picture on a web page, open the Belun Image Saver submenu and choose what to save: the picture as JPG, PNG or WebP, a smaller file, or a copy without EXIF. The browser converts it on your computer and puts the file in your downloads folder.
Version 1.0.0. The source code is on GitHub under the MIT licence: belun-app/extensions.
What it does
The right-click menu of an image gets five commands:
- Save as JPG, Save as PNG, Save as WebP. The picture in the new format, named
after the original:
IMG_0042.jpgbecomesIMG_0042.png. A picture that is already in that format is saved byte for byte. - Save smaller. Compresses the picture again (JPEG and WebP at 75%, then 60%; PNG first without loss) and saves the result only if the file really got smaller. PNG and formats the browser cannot write (GIF, BMP, AVIF, HEIC) become WebP when that is the only way to shrink them, and the file extension shows it. If nothing came out smaller, a small window says so and offers the original.
- Save without EXIF. Removes the camera model, the date and the GPS location from JPEG, PNG and WebP files without compressing the picture again. A JPEG keeps only its orientation, so a photo taken sideways is not turned; previews and motion-photo video stored after the main picture are cut off too. For other formats the extension says that it cannot do this, instead of saving a PNG many times the size.
Saved files keep their names: IMG_0042-smaller.jpg,
IMG_0042-no-exif.jpg.
Files from your computer
The toolbar button opens the file page in a tab. Drop, paste or choose many files and use the same commands. Several results are saved as one ZIP archive, up to 500 files and 1 GB, built one file at a time. It is a tab rather than the popup because a popup closes as soon as the browser loses focus, and that is what happens when you drag files from the file manager.
What it never does
- It never uploads an image and never contacts belun.app or any other service.
- It has no analytics, no error reporting and no account.
- It loads no code, fonts or styles from the network: everything is in the package.
- It stores nothing and opens no tab when it is installed or updated.
- It asks for no access to websites at install.
The one network request, and when it happens
The only thing the extension may load is the picture you right-clicked, and only in these cases, tried in this order:
-
A picture embedded in the page as a
data:address is decoded in the extension. No request at all. - Otherwise the page hands the picture over. It has already loaded it, so it usually comes from the browser's cache; if a request is made, it is the page's own.
-
Only if the page cannot hand it over and you have allowed the extension to read pictures from
that site does the extension download the picture itself. That request carries no cookies, no
referrer and no
Originheader. - Otherwise a small window explains why and offers Allow and save (access to that one site, then the save) or Save the original (the browser downloads the file as it is).
Without that permission the extension never requests a picture itself: such a request would tell the site which extension sent it, and in Firefox the address it would come from is unique to your browser profile. If the page's own request fails, the extension reports the network or server error as such.
To check this yourself, open the extension's inspector on the browser's extensions page and watch the network while you use it: the only requests are for the picture you right-clicked. Disconnected from the internet, the file page converts files as before. The README on GitHub describes how to verify that nothing leaves your computer, including the automated test that records every request.
Permissions in plain words
contextMenus- Adds the commands to the right-click menu of images.
activeTab- After you pick a command, lets the extension read the page you right-clicked. That tab only, and only after the click.
scripting- Runs one short function in that page, which hands over the picture the page has already loaded, so it does not have to be downloaded again.
downloads- Saves the finished file to your downloads folder under a readable name.
offscreen(Chrome, Edge and Opera)- A hidden extension page holds the finished file while it downloads, because the background service worker of these browsers cannot make a link to a file in memory. It loads nothing from the network.
- Access to a site (optional)
- Asked for one site at a time, only when that site does not let other sites read its pictures and you press Allow and save. You can remove it later on the browser's page for the extension.
In Firefox the extension declares that it collects no data
(data_collection_permissions: none).
Limits
- Files over 200 MB are refused with a plain message. Pictures over 64 megapixels or 16,384 pixels on a side are not converted or compressed; the size is read from the file header before anything is decoded. Saving a copy in the same format and removing EXIF do not decode the picture, so this limit does not apply to them.
- Animations (GIF, animated WebP and PNG) are not converted or compressed, because only the first frame would remain.
- HEIC opens only where the browser itself can decode it, or when the file contains a full-size JPEG.
- Browsers do not let extensions read the pages of extension stores: there the extension asks for access to the picture's own site or saves the original file. Pictures on the browser's own settings pages cannot be saved.
- Chrome and Edge 116 or newer, a current Opera, Firefox 142 or newer. Desktop only: Firefox for Android has no context menus.
The same jobs on belun.app
For files that are already on your computer, these pages do the same work in the browser with more settings, and nothing has to be installed:
- Image Converter: Convert images between JPG, PNG, and WebP.
- Image Compressor: Compress JPG, PNG, and WebP images with an adjustable quality slider.
- EXIF Metadata Remover: Strip EXIF metadata and GPS location from photos, losslessly in the browser.
- HEIC to JPG Converter: Convert iPhone HEIC photos to JPG, PNG, or WebP in batches.
Source code and privacy
The code is bundled but not minified, so the package reads like the source. The EXIF remover and the HEIC reader come from @belun-app/tool-engines, the same open-source library the tools on this site use. What the extension does with your data is described in its privacy policy. Questions and bug reports: [email protected].
Chrome is a trademark of Google LLC.