My API website preview

api.namitoyokota.com

Endpoints

Resources

Contribution Guides

Blug Images

$ convert -blur 0x500 ./image.jpg ../images-compressed/image.jpg
$ for FILE in *; do convert -blur 0x500 ./$FILE ../images-compressed/$FILE; done

Compress Images

$ optimizt /path_to_image.jpg

Convert JPG to WEBP

$ cwebp -q 50 ./image.jpg -o ./image.webp
$ for FILE in *; do cwebp -q 50 ./$FILE -o ${FILE%%.*}.webp; done