Commit Graph

61 Commits

Author SHA1 Message Date
wiredfool
5b73d8f57b Merge pull request #661 from hugovk/test_imagedraw
Add more ImageDraw tests
2014-06-01 09:09:58 -07:00
hugovk
ae37743ac7 Both kinds of bounding box for arc, chord and pieslice. 2014-05-27 23:31:31 +03:00
Nicolas F
052ea606bf Clean up defines and includes for Windows
1)  Renamed USE_INLINE to PIL_USE_INLINE to avoid conflicts with
    other headers/libraries.

2)  Replace __WIN32__ and WIN32 with _WIN32

3)  Don't define WIN32 when the compiler is MSVC but not on Windows
    Why would you even...

4)  Don't define strcasecmp if you're not even going to use it.

5)  Don't include Windows.h with undefs for compilers newer than
    1998 everywhere.

6)  Don't surpress warnings for MSVC++ 4.0. People still using
    MSVC++ 4.0 deserve it.

7)  Don't include things that are already included in Windows.h
2014-05-09 21:05:30 +02:00
wiredfool
7b4768a9fa Bump all the version numbers 2014-04-02 15:25:46 -07:00
wiredfool
2b81156619 merge to master 2014-03-26 18:46:35 -07:00
Alex Clark
1c4dc75fab Avoid conflicting _expand functions in PIL & MINGW
fixes #538
2014-03-17 10:50:58 -04:00
Alastair Houghton
9a1b6966b5 Added precinct size option. Also added the jp2klib_version symbol on the _imaging module. 2014-03-14 15:40:30 +00:00
Alastair Houghton
61fb89ec54 Added a JPEG 2000 encoder. 2014-03-13 18:27:16 +00:00
Alastair Houghton
d6b8f0f666 Added a JPEG 2000 decoder based on OpenJPEG. 2014-03-13 11:46:47 +00:00
wiredfool
540e1e2c68 Added ability to render a bytes object using an old style bitmap font to make it easier to use in Py3k 2014-02-04 21:41:16 -08:00
wiredfool
cacd638187 Unicode handled as Latin-1 for Py3, Strings handled for Py2. 2014-02-04 21:41:16 -08:00
wiredfool
4d32136365 Working in py3k, not in 2.x 2014-02-04 21:41:16 -08:00
wiredfool
e87e0333fb Merge branch 'i16-pixelaccess' into cffi-pixelaccess 2014-01-06 23:22:35 -08:00
wiredfool
5efe737f6f Cffi pixel access object, #248 2014-01-05 10:41:25 -08:00
wiredfool
1dd80b2625 reverted int32 changes 2013-12-30 21:00:32 -08:00
Alex Clark ☺
d48f301d57 Merge pull request #423 from wiredfool/trns-png
Support for PNG tRNS header when converting from RGB->RGBA
2013-12-28 05:56:03 -08:00
wiredfool
77c36d6edc Using uint* for pixel access in mode I;16 and I;32, fixes #452 2013-12-19 21:39:18 -08:00
wiredfool
aa1c0fdfb6 merge from master 2013-12-19 20:48:49 -08:00
Alex Clark
18fe7ee519 Prepare for 2.3.0 release in < 30 days 2013-12-05 05:15:58 -05:00
wiredfool
f987d74695 More Py_ssize_t changes 2013-12-04 22:07:11 -08:00
wiredfool
28f22fc908 Return positive size for > 2gpx images, fixes #436 2013-12-04 20:59:33 -08:00
wiredfool
0356741a29 Now using the rgbT2rgba conversion for L+transparency to RGBA, dropping the palette hack 2013-11-26 13:04:10 -08:00
wiredfool
c546c5a4c0 Added conversion for RGB+Transparency to RGBA that adds an alpha mask corresponding to the transparency value, fixes #421 2013-11-26 12:24:19 -08:00
wiredfool
e60b871b92 whitespace 2013-11-26 12:21:50 -08:00
wiredfool
c6cfd02f8f more consistent 4space indent 2013-11-25 16:25:06 -08:00
wiredfool
3d31bf394b removing libtiff compression based decoder names 2013-11-21 21:10:17 -08:00
wiredfool
65e3bfaf33 added generic libtiff en/decoder instead of each compression version 2013-11-21 20:37:52 -08:00
Alex Clark
3c2496e117 Bump 2013-10-02 13:07:32 -04:00
Alex Clark
cdd130da9b Bump 2013-09-30 06:12:25 -04:00
Alex Clark ☺
e5279a284b Merge pull request #325 from manisandro/bytearray
Fix bytes which should be bytearray
2013-08-29 02:14:49 -07:00
Sandro Mani
2ec21cf5ae Catch incorrect palette sizes 2013-08-28 20:36:39 +02:00
Alexey Buzanov
a130c45990 add several TIFF decoders and encoders 2013-07-01 18:45:42 +04:00
wiredfool
ecc6c081af Use PyCapsule for py3.1, fixes #237 2013-05-28 20:20:35 -07:00
wiredfool
baba2810ae version updates 2013-05-21 21:46:36 -07:00
wiredfool
b0fffd24a4 Merge branch 'master' of https://github.com/python-imaging/Pillow into namespaced 2013-04-09 12:08:13 -07:00
wiredfool
088c752e40 basic sanity check that the version of the _imaging.c and Image.py files are the same 2013-04-08 21:43:15 -07:00
Sandro Mani
07f632194d Make quantization code more portable 2013-04-08 00:52:15 +02:00
David Schmidt
5303f0ea66 added tests to cover save of four different png transparencies 2013-03-26 11:24:07 +01:00
David Schmidt
638889cae0 replaced tabs with space in _imaging.c 2013-03-22 15:22:18 +01:00
Christoph Gohlke
0b8c870d0b Include zlib.h before Imaging.h
Fixes a msvc compile error because various types get redefined
2013-03-13 17:27:24 -07:00
Alex Clark ☺
62bb9aaaa2 Merge pull request #98 from wiredfool/g4_support
G4 Tiff support
2013-03-13 15:41:33 -07:00
wiredfool
7226d0dc26 Merge branch 'master' into g4_support 2013-03-12 22:24:36 -07:00
Oliver Tonnhofer
1401adaefa fix warning for python3
use PyUnicode_FromString instead of PyString_FromString
this warning prevented loading _imaging, somehow
2013-03-12 20:19:08 +01:00
Oliver Tonnhofer
6537ba19c3 backport PIL's PNG/Zip improvements
- add new FASTOCTREE quantizer with alpha support
- make ZIP compress level and type configurable
- support reading/writing PNGs with paletted alpha

source 3637439d51
2013-03-11 20:33:04 +01:00
Oliver Tonnhofer
c60bb09fcd Revert "Added support for PNG images with transparency palette"
This reverts commit 5baa1ac1b8.
2013-03-11 19:02:54 +01:00
wiredfool
5ba6564e26 initial merge of wiredfool/Python-Imaging-Library-G4-Tiff-Support 2013-03-08 19:51:59 -08:00
Alex Clark ☺
fe290d21c6 Merge pull request #83 from cgohlke/patch-4
Use correct Py_BuildValue format for UINT8
2013-03-08 10:59:54 -08:00
Christoph Gohlke
3773a843c6 Use correct Py_BuildValue format for UINT8 2013-03-08 10:16:22 -08:00
Christoph Gohlke
2a7dd808a1 Don't use C99 compound literals
Does not compile with msvc
2013-03-07 22:35:05 -08:00
Alex Clark ☺
5b369a71c5 Merge pull request #54 from cgohlke/patch-2
Fix Windows 64 bit issues
2013-03-05 10:54:08 -08:00