Skip to content

ASBTEC/img2webp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

img2webp

Converts images into webp format

Setup

Once for machine.

Install git

sudo apt install -y git

Clone repo

git clone https://github.com/ASBTEC/img2webp

Install Docker

cd img2webp
sudo bash tools/install_docker.sh

Build software

docker build . -t aleixmt/img2webp:latest

Install alias

echo "
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/.bashrc

Usage

Each time you want to convert images.

Put the images in the input folder

mv your/photo/location/photo.png output/

Run software

img2webp

Get images

Your images are in the output folder.

About

Converts images into webp format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors