Optimize PNG images and reduce the file size right in your browser!

Latest Version

Version
0.1.3
Update
July 25, 2023
Size
1.2MiB
Developer
Category
Users
1,000+
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
ContextMenus
See more

PNG Optimizer Extension

PNG Optimizer is a browser extension that helps you optimize PNG images. It also reduces the file size depending on the optimization level.

Simply drag & drop PNG file(s) to a designated area in the app interface (top section) and then wait for a few seconds for the optimization process to finish up. You can choose your desired optimization engine from the drop-down list as well. The first and last engines can optimize both PNG and JPEG files, but other engines are designed for PNG files only. All the info about the optimization process is displayed in the console area within the app UI. Once the optimization process is done, please click on the download button to download the optimized image. Please note that the download location is the default location in your browser.

Note 1: PNG Optimizer add-on uses 5 different open-source optimization engines: optipng.js, pngcrush.js, pngquant.js, compressor.js and browser-image-compression.js. Optimizer engines have different performances and results. Please use the one that best matches your need.

1) optipng.js: https://github.com/LI-NA/optipng.js/blob/master/demo/js/optipng.js
2) pngcrush.js: https://github.com/richardassar/pngcrush.js/blob/master/pngcrush.js
3) pngquant.js: https://github.com/psych0der/pngquantjs/blob/master/demo/js/pngquant.js
4) compressor.js: https://github.com/fengyuanchen/compressorjs/blob/master/dist/compressor.js
5) browser-image-compression.js: https://github.com/Donaldcwl/browser-image-compression/blob/master/dist/browser-image-compression.js

Note 2: because this is an ongoing project, you might see some bugs in optimizing image files. If you found a bug to report, or have a feature request, please fill out the bug report form on the add-on's homepage (https://mybrowseraddon.com/png-optimizer.html).
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "version": "0.1.3", "manifest_version": 3, "name": "PNG Optimizer", "offline_enabled": true, "permissions": ["storage", "contextMenus"], "homepage_url": "https://mybrowseraddon.com/png-optimizer.html", "description": "Optimize PNG images and reduce the file size right in your browser!", "commands": { "_execute_action": {} }, "background": { "service_worker": "background.js" }, "action": { "default_title": "PNG Optimizer", "default_icon": { "16": "data/icons/16.png", "32": "data/icons/32.png", "48": "data/icons/48.png", "64": "data/icons/64.png" } }, "icons": { "16": "data/icons/16.png", "32": "data/icons/32.png", "48": "data/icons/48.png", "64": "data/icons/64.png", "128": "data/icons/128.png" }}
Read more