pngquant icon indicating copy to clipboard operation
pngquant copied to clipboard

ValueError: pngquant not found

Open jcabrerahi opened this issue 5 years ago • 2 comments

Please could you explain with example the use of pngquant on python?

jcabrerahi avatar Jun 23 '20 17:06 jcabrerahi

@jcabrerahi Should install Command-linepngquant first. Reference: https://pngquant.org/

Brightcells avatar Jun 27 '20 15:06 Brightcells

I'm getting the same error. I have pngquant installed. I try the following:

import pngquant
pngquant.config('/path_to_pngquant_dir/pngquant')

I can run pngquant from the command line with /path_to_pngquant_dir/pngquant, but still get the ValueError in the python script.

karlwx avatar Jul 07 '20 20:07 karlwx