Converts images into webp format
Once for machine.
sudo apt install -y gitgit clone https://github.com/ASBTEC/img2webpcd img2webp
sudo bash tools/install_docker.shdocker build . -t aleixmt/img2webp:latestecho "
alias img2webp=\"docker run --rm -it --user \"\$(id -u):\$(id -g)\" -v \"$PWD/input:/data/in:ro\" -v \"$PWD/output:/data/out\" aleixmt/img2webp:latest --input-location /data/in --output-location /data/out --verbose\"" >> $HOME/.bashrc
source $HOME/.bashrcEach time you want to convert images.
mv your/photo/location/photo.png output/img2webpYour images are in the output folder.