Commit Graph

1001 Commits

Author SHA1 Message Date
wiredfool
465ebd3af3 added tagnames for ImageJ tiff tags 2013-09-27 10:41:27 -07:00
wiredfool
a40950c3b9 Properly set the mode for files with rawmode of F;32BF 2013-09-27 10:41:03 -07:00
Alex Clark
4a222511bb Wording [ci skip] 2013-09-27 07:37:22 -04:00
Alex Clark
73afd82e92 Wording [ci skip] 2013-09-27 07:36:28 -04:00
Alex Clark
6359829bf9 Add history 2013-09-27 07:35:26 -04:00
Alex Clark ☺
5881d67eea Merge pull request #336 from nu774/issue329
issue 329: setup.py: better support for C_INCLUDE_PATH, LD_RUN_PATH, etc...
2013-09-27 04:33:15 -07:00
Alex Clark
16210705f0 Add history 2013-09-27 07:32:10 -04:00
Alex Clark ☺
37c8a8eec6 Merge pull request #335 from nu774/issue328
issue328: _imagingcms.c: include windef.h to fix build issue on MSVC
2013-09-27 04:31:09 -07:00
Alex Clark
6404d5c1f8 Rename 2013-09-27 07:30:05 -04:00
nu774
2b8225615b issue 329: setup.py: better support for C_INCLUDE_PATH, LD_RUN_PATH, etc.
Fix to support colon separated path list, and also support INCLUDE and LIB
environment variable used by MSVC.
2013-09-27 20:19:52 +09:00
nu774
c09a0fd815 issue328: _imagingcms.c: include windef.h to fix build issue on MSVC 2013-09-27 20:16:34 +09:00
Alex Clark
6d8c6f582a Add provides PIL
Testing http://www.python.org/dev/peps/pep-0426/#provides
2013-09-27 06:27:27 -04:00
Alex Clark
40513b8a09 Add history 2013-09-27 06:11:15 -04:00
Alex Clark ☺
ea9f6a4d1f Merge pull request #330 from donspaulding/patch-1
Automatically discover homebrew include/ and lib/ paths on OSX
2013-09-27 03:10:25 -07:00
Alex Clark ☺
1641672622 Merge pull request #334 from olt/octree-large-img-fix
fix FASTOCTREE quantizer for large images (>16MP)
2013-09-26 02:39:55 -07:00
Oliver Tonnhofer
147a0204eb fix FASTOCTREE quantizer for large images (>16MP)
the color value counter sums all color values and this overflows
a uint32 at 16M white pixels, 32M gray pixels, etc.
2013-09-26 10:15:42 +02:00
Alex Clark ☺
dea45dafcb Merge pull request #333 from wiredfool/paddywwoof-truetype
Vertical Alignment of ttf rendering
2013-09-24 14:37:49 -07:00
wiredfool
ae6eb8733a actually cleaning 2013-09-24 14:23:43 -07:00
wiredfool
35c9f59c38 testcase for multiline text spacing 2013-09-24 14:23:17 -07:00
Don Spaulding
6568cb0deb Automatically discover homebrew lib/ and include/ paths if installed on OSX.
This change allows Pillow to discover installed libs on OSX when using the homebrew package manager outside of `/usr/local/`.

It relies on the commands module, which goes away in Python 3.  If it seems like a good change to add, I can switch the code over to subprocess.
2013-09-20 11:52:45 -05:00
paddywwoof
02855a86c0 hopefully this uses a reasonable y offset 2013-09-20 14:02:40 +01:00
paddywwoof
25b39de5b7 ImageColor defaults to alpha = 255 in only rgb specified for RGBA mode 2013-09-19 15:30:08 +01:00
Alex Clark
9bb76ea8e4 Add history [ci skip] 2013-08-29 05:15:59 -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
1c4734b6bb Make bytePalette read-only buffer 2013-08-28 20:44:27 +02:00
Sandro Mani
2ec21cf5ae Catch incorrect palette sizes 2013-08-28 20:36:39 +02:00
Sandro Mani
4be146cf27 Fix bytes which should be bytearray 2013-08-28 20:18:13 +02:00
Alex Clark ☺
79302b90da Merge pull request #324 from seanupton/master
Add respective paths for C_INCLUDE_PATH, LD_RUN_PATH (rpath) to build if...
2013-08-26 12:40:15 -07:00
Sean Upton
1869ed5272 Add respective paths for C_INCLUDE_PATH, LD_RUN_PATH (rpath) to build if specified as environment variables. 2013-08-26 07:35:55 -06:00
Alex Clark
588e6f88b7 Add history 2013-08-22 05:55:48 -04:00
Alex Clark ☺
07f338f194 Merge pull request #315 from d-schmidt/master
fix Issue #312 + gif optimize improvement
2013-08-22 02:54:43 -07:00
Alex Clark
ec182bed7c Add history [ci skip] 2013-08-21 18:31:40 -04:00
Alex Clark
e0d8a198e8 Add history [ci skip] 2013-08-21 18:29:54 -04:00
wiredfool
93b628ad49 Merge pull request #323 from wiredfool/tk-readme
Include tcl/tk in the readme
2013-08-21 15:03:33 -07:00
wiredfool
bb29d00fdf Merge pull request #321 from vytisb/master
Fix for #318: Catch truncated zTXt chunk errors when decoding PNG images.
2013-08-21 15:02:03 -07:00
wiredfool
2974749f21 Merge pull request #320 from ericbuehl/master
be more tolerant of tiff tag read failures
2013-08-21 15:01:27 -07:00
wiredfool
878e12758b added raspian prereqs 2013-08-21 14:54:48 -07:00
wiredfool
ab593c75da adding prerequisites for tk to the readme 2013-08-21 14:49:15 -07:00
Eric Buehl
26fb0eadad issue warning instead of debug/print 2013-08-20 16:53:55 +00:00
Vytis Banaitis
febfd1e124 Python3 fix. 2013-08-20 17:09:22 +03:00
Vytis Banaitis
dbf40a0124 Catch truncated zTXt errors. 2013-08-20 15:17:17 +03:00
Eric Buehl
7430dc261f be more tolerant of tag read failures
this can occur if the MakerNote has a pointer to outside the EXIF block
2013-08-19 22:51:50 +00:00
David Schmidt
9d43f156a8 replace custom search with dict in gif optimize 2013-08-06 11:36:02 +02:00
David Schmidt
c9df9d0b23 reorganized gif optimize to work with palette parameter 2013-08-05 17:59:35 +02:00
Alex Clark
ca8e84dfce Add history [ci skip] 2013-08-02 21:00:52 -04:00
Alex Clark ☺
845f582d09 Merge pull request #313 from e98cuenc/progressive
Fix IOError when saving progressive JPEGs.
2013-08-02 18:00:13 -07:00
David Schmidt
b9ab3f5bf4 fix Issue #312
improve palette handling while saving gif and png
2013-08-02 16:32:49 +02:00
Joaquín Cuenca Abela
c68044bf7f Fix IOError when saving progressive JPEGs.
when the jpeg encoder sees the flags optimize or progressive (or progression)
it will write the full image in one shot.

The bufsize needs to be big enough to hold the entire image. The current heuristic
is that the entire compressed image will fit in width * height bytes, but this
heuristic is only applied to save operations with the flag "optimize" and not to
save operations with the flag "progressive".

This patch fixes this oversight.

(Btw, it will probably be a good idea to have a loop that retries with a bigger
bufsize in case this guess is not big enough.)
2013-08-02 14:36:46 +02:00
Alex Clark
dcb6eef590 Add history [ci skip] 2013-07-31 13:00:53 -04:00
Alex Clark ☺
b72471c8fe Merge pull request #309 from yoavweiss/master
Add RGBA support to ImageColor
2013-07-31 09:55:43 -07:00