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

Add libimagequant to features.py #4091

Merged
merged 2 commits into from Nov 2, 2019

Conversation

nulano
Copy link
Contributor

@nulano nulano commented Sep 26, 2019

From #4084 (comment)

Changes proposed in this pull request:

@nulano nulano mentioned this pull request Sep 26, 2019
19 tasks
src/PIL/features.py Outdated Show resolved Hide resolved
src/PIL/features.py Outdated Show resolved Hide resolved
@nulano
Copy link
Contributor Author

nulano commented Oct 12, 2019

I have renamed the brief=False parameter to supported_formats=True, and added the Python version to the selftest.py output.

The output is now (from https://travis-ci.org/nulano/Pillow/jobs/597002577#L2460):

python selftest.py
--------------------------------------------------------------------
Pillow 6.2.0.dev0
Python 3.7.1 (default, Dec  5 2018, 18:09:53)
       [GCC 5.4.0 20160609]
--------------------------------------------------------------------
Python modules loaded from /home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/Pillow-6.2.0.dev0-py3.7-linux-x86_64.egg/PIL
Binary modules loaded from /home/travis/.cache/Python-Eggs/Pillow-6.2.0.dev0-py3.7-linux-x86_64.egg-tmp/PIL
--------------------------------------------------------------------
--- PIL CORE support ok
--- TKINTER support ok
--- FREETYPE2 support ok
--- LITTLECMS2 support ok
--- WEBP support ok
--- WEBP Transparency support ok
--- WEBPMUX support ok
--- WEBP Animation support ok
--- JPEG support ok
--- OPENJPEG (JPEG2000) support ok
--- ZLIB (PNG/ZIP) support ok
--- LIBTIFF support ok
--- RAQM (Bidirectional Text) support ok
--- LIBIMAGEQUANT (Quantization method) support ok
--------------------------------------------------------------------
Running selftest:
--- 59 tests passed.

Running python -m PIL lists supported formats instead of the selftest message at the end, same as before.

@hugovk hugovk merged commit 6060ed3 into python-pillow:master Nov 2, 2019
@hugovk
Copy link
Member

hugovk commented Nov 2, 2019

Thanks!

@nulano nulano deleted the libimagequant-features branch November 8, 2019 15:15
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

Successfully merging this pull request may close these issues.

None yet

3 participants