Python Imaging Library (Fork)
Go to file
etienne afc4a26e34 Fixed issue #857. When saving a JPEG and specifying 'keep' for quality or subsampling, if the source JPEG image is in grayscale mode, don't try to find the subsampling of the source, because grayscale images don't have any subsampling (it's only for color components).
For the moment the fix also ignores subsampling of CMYK JPEG because currently Pillow doesn't support encoding JPEG in YCCK mode (and subsampling doesn't make sense in CMYK, but Pillow permits saving CMYK JPEG with subsampling, that's a bug). This fix pass those errors silently, i.e. it doesn't raise an error when 'keep' is used but it's not possible to keep the subsampling (because the image is grayscale or CMYK). I think it's the proper behavior but I'm not sure.
2014-09-02 14:49:24 -04:00
depends Update 2014-06-28 16:10:42 -04:00
docs Remove a rogue "=" from the end of a line 2014-08-15 13:58:54 +03:00
libImaging Removed unnecessary uint definition. 2014-07-25 16:55:50 -04:00
PIL Fixed issue #857. When saving a JPEG and specifying 'keep' for quality or subsampling, if the source JPEG image is in grayscale mode, don't try to find the subsampling of the source, because grayscale images don't have any subsampling (it's only for color components). 2014-09-02 14:49:24 -04:00
Sane Rename and rst-i-fy 2014-06-22 20:11:59 -04:00
Scripts Extract __main__ section of PIL/ImageFont.py into Scripts/createfontdatachunk.py 2014-07-07 22:31:20 +03:00
Tests Fixed issue #857. When saving a JPEG and specifying 'keep' for quality or subsampling, if the source JPEG image is in grayscale mode, don't try to find the subsampling of the source, because grayscale images don't have any subsampling (it's only for color components). 2014-09-02 14:49:24 -04:00
Tk Update 2014-06-22 20:49:42 -04:00
_imaging.c Bump Version/Changelog 2014-08-19 08:52:29 -07:00
_imagingcms.c Added profile.tobytes() for ImageCms Profiles 2014-07-29 20:44:17 -07:00
_imagingft.c initialize unused pointer to prevent freeing without allocating 2014-01-27 23:24:42 -08:00
_imagingmath.c Cleanup WS, courtesy of @Arfrever 2013-06-30 18:42:19 -04:00
_imagingmorph.c Fix segfault when importing _imagingmorph 2014-06-24 19:06:05 -07:00
_imagingtk.c Cleanup WS, courtesy of @Arfrever 2013-06-30 18:42:19 -04:00
_webp.c do not use loseless abi until it supported 2014-01-17 17:24:52 +04:00
.coveragerc Don't exclude Windows code 2014-07-05 21:32:09 +03:00
.gitattributes Add git attributes file for *.ppm, fixes #92 2013-03-10 08:28:15 -04:00
.gitignore Activated MPO detection. 2014-07-17 12:30:45 -04:00
.travis.yml Merge pull request #850 from hugovk/pyroma 2014-08-19 09:41:46 -07:00
CHANGES.rst Update CHANGES.rst [CI skip] 2014-08-20 10:00:38 +03:00
CONTRIBUTING.md Link to testing guide [CI skip] 2014-08-05 12:35:27 +03:00
decode.c Added support for OpenJPEG 2.1. 2014-05-27 12:43:54 +01:00
display.c Clean up defines and includes for Windows 2014-05-09 21:05:30 +02:00
encode.c Fixed issue #857. When saving a JPEG and specifying 'keep' for quality or subsampling, if the source JPEG image is in grayscale mode, don't try to find the subsampling of the source, because grayscale images don't have any subsampling (it's only for color components). 2014-09-02 14:49:24 -04:00
Makefile Doc targets + help for makefile 2014-07-14 21:02:12 -07:00
MANIFEST.in Fix MANIFEST 2014-08-19 08:52:24 -04:00
map.c Clean up defines and includes for Windows 2014-05-09 21:05:30 +02:00
mp_compile.py Don't install mp_compile if multiprocessing.Pool() fails, or if 1 process is going to be used 2014-07-09 10:12:43 -07:00
outline.c py3k: Remove ancient Python hacks 2013-01-10 08:46:57 -06:00
path.c Cleanup WS, courtesy of @Arfrever 2013-06-30 18:42:19 -04:00
profile-installed.py single threaded for profile-installed.py 2014-07-23 14:30:55 -07:00
py3.h Update py3.h 2013-03-13 19:34:43 -07:00
README.rst Link to CHANGES from README 2014-08-19 10:53:31 +03:00
requirements.txt Add self; make note about reqs 2014-06-28 16:20:12 -04:00
selftest.py Update paths to Tests/images/ instead of Images/ 2014-06-23 09:19:29 +03:00
setup.py Bump Version/Changelog 2014-08-19 08:52:29 -07:00
test-installed.py Make nose run tests in parallel 2014-06-30 15:21:19 -07:00
tox.ini Added clean/build to tox to make it behave like travis 2013-07-08 23:10:21 -04:00

Pillow
======

*Python Imaging Library (Fork)*

Pillow is the "friendly" PIL fork by `Alex Clark and Contributors <https://github.com/python-pillow/Pillow/graphs/contributors>`_. PIL is the Python Imaging Library by Fredrik Lundh and Contributors. For more information, please `read the documentation <http://pillow.readthedocs.org/>`_,  `check the changelog <https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst>`_ and `find out how to contribute <https://github.com/python-pillow/Pillow/blob/master/CONTRIBUTING.md>`_.

.. image:: https://travis-ci.org/python-pillow/Pillow.svg?branch=master
   :target: https://travis-ci.org/python-pillow/Pillow
   :alt: Travis CI build status

.. image:: https://pypip.in/v/Pillow/badge.png
    :target: https://pypi.python.org/pypi/Pillow/
    :alt: Latest PyPI version

.. image:: https://pypip.in/d/Pillow/badge.png
    :target: https://pypi.python.org/pypi/Pillow/
    :alt: Number of PyPI downloads

.. image:: https://coveralls.io/repos/python-pillow/Pillow/badge.png?branch=master
  :target: https://coveralls.io/r/python-pillow/Pillow?branch=master