Christopher-Hayes / image-optimizer

A free and open source tool for optimizing images and vector graphics.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image Optimizer

GitHub package.json version GitHub All Releases GitHub

Built with Electron, Vue & Vite.

A free and open source tool for optimizing images and vector graphics.

Original repo at: https://github.com/antonreshetov/image-optimizer

This fork includes:

  • PNG -> WebP option
  • Multi-platform release for Macos (.dmg), Linux (.snap, .AppImage) and Windows (.exe)

How to Install Image Optimizer

  1. Go to Releases get the latest build.

MacOS

  1. Download and run the .dmg file.

Windows

  1. Download and run the .exe file.

Linux

  1. Either download the .snap or the .AppImage.

Linux Snap

  1. Run the bash command below inside the Downloads folder.
sudo snap install --force-dangerous ./image-optimizer.snap

Replace image-optimizer.snap with the actual filename

Linux AppImage

To install the AppImage, right-click on the file > Properties > Permissions > "Allow executing file as program".

Notes about Snap and Appimage

Note that the Snap will move the files to /snap/bin and create a "Desktop file" that shows the app in global search. The AppImage does not do this - you need to create a desktop file if you want to see it in search. Additionally, this means you can delete the Snap from Downloads after installing, but the AppImage download should not be deleted unless uninstalling. The AppImage should probably be moved to a more permanent folder such as $HOME/bin

How to Uninstall

MacOS

Delete the Image-Optimizer.dmg file from /Applications

Windows

Uninstall through Windows' "Add/Remove Programs" interface.

Linux

Linux Snap

sudo snap remove image-optimizer

Linux AppImage

Delete the .appimage file.

Core libs

Running and Building the source code

Development

# install dependencies
yarn
# serve with hot reload
yarn dev

Build

Run yarn run build:local to both build the Vue frontend and run the electron builder.

yarn build is used by GitHub Actions to only build the Vue frontend.

Related

Contributors: Anton Reshetov, Chris Hayes

About

A free and open source tool for optimizing images and vector graphics.

License:MIT License


Languages

Language:TypeScript 53.4%Language:Vue 38.9%Language:JavaScript 4.9%Language:CSS 1.7%Language:HTML 0.8%Language:Shell 0.3%