Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: pngquant not found #5

Open
jcabrerahi opened this issue Jun 23, 2020 · 2 comments
Open

ValueError: pngquant not found #5

jcabrerahi opened this issue Jun 23, 2020 · 2 comments

Comments

@jcabrerahi
Copy link

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

@Brightcells
Copy link
Owner

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

@karlwx
Copy link

karlwx commented Jul 7, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants