An image optimization tool allows you to compress and covert images in your browser
- Up-to-date encoders, using encoders provided by Squoosh
- Secure and private, no images are uploaded to any server
- No file sizes or count limit forever
- Batch optimization, drag multiple images and click Optimize All and all done
- No installation required
- You don't have to mess with cli or random npm packages
- Do not collect a five-page long "basic visitor data"
- Automatically select the best method for you with sane defaults
I have tried:
- Squoosh - Best of all, but do not support batch optimization and unlikely to be in near future
- @squoosh/cli - Do not work for me and no longer maintained :(
- Caesium Image Compressor - First option appears on alternative.to, but functionality really limited (5 files a time and do not support converting formats)
- tinyXXX(Insert image format here) - Those creepy webpages really make me feel reluctant to upload my images to their sites
Good thing is that squoosh is open-sourced and I can build my own version easily
- Browsers with dynamic import or canvas disabled (E.g. librewolf) will not work
-
Clone the git repository
git clone https://github.com/angus6b23/squash
-
Run yarn / npm to install dependencies
Using yarn
yarn
Using npm
npm install
-
Build and package the files
Using yarn
yarn build
Using npm
npn run build
-
If the build process is successful, the files will be available in "dist" folder
This app is provided under AGPL v3.0 or later. For details, please see https://www.gnu.org/licenses/agpl-3.0.html