Python Imaging Library (Fork)
Go to file
Terseus be09da6507 Rewrite of the ImagingDrawWideLine function
The previous version of the function didn't generate correct wide lines
of even width.

The most notable changes are:
  * Make variable names far more descriptive about the process.
  * Corrected the width calculation; we should deduct one pixel from the
    width because the pixels at the center of the line doesn't count for
    the triangles.
  * Now we calculate *two* ratios, one for left/top displacement (dxmin)
    and one for right/bottom (dxmax), this fix the behavior with lines
    of even width.

It can probably be optimized.
2014-04-02 21:30:42 +02:00
depends refactored out dependencies 2014-03-26 13:22:37 -07:00
docs Merge branch 'master' into icns-support 2014-03-28 09:15:20 +00:00
Images Updated icons. 2014-03-26 14:08:54 +00:00
libImaging Rewrite of the ImagingDrawWideLine function 2014-04-02 21:30:42 +02:00
PIL Merge from master 2014-03-30 09:14:04 -07:00
Sane Fix issue 447: Apparently some drivers only emit SANE_STATUS_EOF once, and SANE_STATUS_IO_ERROR after that. The code however assumed that the driver keeps emitting SANE_STATUS_EOF. This commit fixes this. 2014-01-26 00:11:15 +01:00
Scripts More WS cleanup courtesy of @Arfrever 2013-06-30 18:46:03 -04:00
Tests Trapping warnings 2014-03-30 09:26:03 -07:00
Tk Cleanup WS, courtesy of @Arfrever 2013-06-30 18:42:19 -04:00
_imaging.c merge to master 2014-03-26 18:46:35 -07:00
_imagingcms.c BLD: Fix msvc build error C1189: "No Target Architecture" 2013-12-29 18:54:07 -08: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
_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
.gitattributes Add git attributes file for *.ppm, fixes #92 2013-03-10 08:28:15 -04:00
.gitignore Emacs cruft in .gitignore [ci skip] 2014-03-26 13:28:03 -07:00
.travis.yml Removing python-tk install [skip ci] 2014-03-26 14:37:38 -07:00
CHANGES.rst Merge from master 2014-03-30 09:14:04 -07:00
decode.c Added tests and fixed a few bugs that the tests threw up. 2014-03-19 12:16:14 +00:00
display.c Cleanup WS, courtesy of @Arfrever 2013-06-30 18:42:19 -04:00
encode.c merge to master 2014-03-26 18:46:35 -07:00
Makefile Fix make pre 2013-10-02 12:59:05 -04:00
MANIFEST.in Fix manifest 2014-03-17 10:49:39 -04:00
map.c mixed 8ch tabs + spaces -> 4 space indent 2013-12-13 15:13:43 -08: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
py3.h Update py3.h 2013-03-13 19:34:43 -07:00
README.rst Wording [ci skip] 2013-10-15 08:58:40 -04:00
selftest.py Added tests and fixed a few bugs that the tests threw up. 2014-03-19 12:16:14 +00:00
setup.py Rearrange lib directory detection, fixes #587 2014-03-31 18:59:29 +00: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. PIL is the Python Imaging Library by Fredrik Lundh and Contributors.

.. image:: https://travis-ci.org/python-imaging/Pillow.png
   :target: https://travis-ci.org/python-imaging/Pillow

.. 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

The documentation is hosted at http://pillow.readthedocs.org/. It contains installation instructions, tutorials, reference, compatibility details, and more.