Image compression using a docker pngquant

396 Views Asked by At

It is necessary to compress a lot of pictures. For this I use the pngquant to sort through every picture, compress and overwrite it. As a result, after each search I receive the following message: "cannot open for reading"

Where did I make a mistake?

time find . -type f -name \*.png -exec docker run --rm -v "$(pwd)" pngquant *.png --ext -f {} \;

enter image description here

0

There are 0 best solutions below