Commit Graph

246 Commits

Author SHA1 Message Date
Stephen Johnson
0f3f6dd1a3 Move ImageGrab docs back to ImageGrab.rst instead of autodoc 2013-10-13 09:56:58 -07:00
Stephen Johnson
20b9d9774a Fully document PIL.ImageOps; fix some :py:mod: markup 2013-10-12 22:17:45 -07:00
Stephen Johnson
e2d88b5a51 Fully document ImageMath 2013-10-12 17:40:14 -07:00
Stephen Johnson
cf7b72f9b9 Fully document PIL.ImageGrab 2013-10-12 17:22:02 -07:00
Stephen Johnson
bc0f53aceb Fully document PIL.ImageFont 2013-10-12 17:14:12 -07:00
Stephen Johnson
a2c67dc3af Fully document PIL.ImageFilter 2013-10-12 16:49:32 -07:00
Stephen Johnson
348daf9490 Document ImageFile.Parser 2013-10-12 13:57:27 -07:00
Stephen Johnson
f2be739fdf Fully document PIL.ImageEnhance 2013-10-12 13:48:34 -07:00
Stephen Johnson
88c700f3b2 Fully document PIL.ImageColor 2013-10-11 22:54:24 -07:00
Stephen Johnson
1e726ea36a Remove old ImageChops comments; redundant with docstrings 2013-10-11 22:46:57 -07:00
Stephen Johnson
546c20491f Improve ImageChops docstrings 2013-10-11 22:45:23 -07:00
Stephen Johnson
b533aa665e Fix many formatting mistakes in PIL.Image's docstrings 2013-10-11 22:18:40 -07:00
Alex Clark ☺
056690792e Merge pull request #364 from wiredfool/premultiply
Alpha Premultiplication support for transform and resize
2013-10-07 06:38:11 -07:00
wiredfool
10214bc6c4 Premultiply RGBA images prior to transform and resize and undo after 2013-10-04 13:25:32 -07:00
Alex Clark ☺
84b0ba7207 Merge pull request #359 from wiredfool/pypy
Fixes to make Pypy 2.1.0 work on Ubuntu 12.04/64
2013-10-03 05:14:23 -07:00
Alex Clark
3c2496e117 Bump 2013-10-02 13:07:32 -04:00
wiredfool
258434b8ef Fix test failures for Pypy 2.1 around memory mapping 2013-10-02 09:56:29 -07:00
Alex Clark
5dfc5bf256 Bump 2013-09-30 06:13:14 -04:00
Alex Clark ☺
946af1edd2 Merge pull request #346 from mhogg/master
Bug fix for encoding of b_whitespace - Similar to closed issue #272
2013-09-30 02:38:23 -07:00
Michael Hogg
e70424644a Update PpmImagePlugin.py
Making it work for Python 3.x
2013-09-30 17:44:11 +10:00
Michael Hogg
800729e092 Update PpmImagePlugin.py
Bug fix when locale has not been set
2013-09-30 17:24:22 +10:00
Christoph Gohlke
9bff0b14e0 Add numpy array interface support for 16 and 32 bit integer modes 2013-09-29 19:30:43 -07:00
Michael Hogg
20e7555e59 Update PpmImagePlugin.py
Bug fix for encoding of b_whitespace
2013-09-30 09:54:25 +10:00
Christoph Gohlke
2fc724d346 Call _getexif function instead of class method 2013-09-29 09:20:00 -07:00
Christoph Gohlke
c46b3fe256 Make _getexif a function 2013-09-29 09:17:37 -07:00
Alex Clark ☺
97ecde836d Merge pull request #344 from wiredfool/tifftags
Tiff Tags
2013-09-28 09:22:05 -07:00
Alex Clark
caacc1dce6 Fix test 2013-09-28 09:46:00 -04:00
Alex Clark
f7393d8977 Add faux test suite
It would be great if we could start moving PIL's tests in to a proper test suite i.e. inside a Python package
2013-09-28 09:26:28 -04:00
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
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 ☺
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
4be146cf27 Fix bytes which should be bytearray 2013-08-28 20:18:13 +02: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
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
Eric Buehl
26fb0eadad issue warning instead of debug/print 2013-08-20 16:53:55 +00: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
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
Yoav Weiss
c117dcae34 Add RGBA support to ImageColor 2013-07-30 16:43:40 +02:00
Martijn Pieters
97f1cd55ee Fix for #304: test for str, not "utf-8".
The code wants to produce a `str` object for the given Python version (which is the right thing to do here).
2013-07-25 18:21:08 +01:00
Michał Nowotka
702fc75ee3 Update _util.py
Fixing missing import.
2013-07-25 17:25:18 +01:00
Felipe Reyes
64cc8f994d Added some missing exif tags 2013-07-24 18:46:21 +00:00
wiredfool
e3e0638a5f Fail fast if there's an import error on _imaging 2013-07-23 10:17:15 -07:00
Freek Dijkstra
d24a419299 Warnings if imaging library has wrong UCS support.
Raise exceptions for unknown errors.
2013-07-23 10:44:27 +02:00