Commit Graph

3660 Commits

Author SHA1 Message Date
Antony Lee
f79388f67c Merge 95d619add5 into 80672b61e8 2015-07-02 02:15:00 +00:00
Alex Clark
80672b61e8 This is 2.9.0
Fixes #1174
2015-07-01 14:33:56 -04:00
Alex Clark
0d9d288a60 Merge pull request #1321 from radarhere/handler
Rearranged format handler fetching
2015-07-01 14:31:22 -04:00
Alex Clark
567d83089f Merge pull request #1323 from radarhere/multiframe_test
Added multiframe GIF test
2015-07-01 14:30:45 -04:00
Alex Clark
9dde5d3283 Merge pull request #1326 from hugovk/more_gimp_palette_tests
More GIMP palette tests
2015-07-01 14:30:10 -04:00
hugovk
dba0e7960a More GIMP palette tests 2015-07-01 14:28:34 +03:00
Hugo van Kemenade
6a85d5184c Update CHANGES.rst [CI skip] 2015-07-01 09:09:26 +03:00
Hugo van Kemenade
2a8efbaf3f Merge pull request #1324 from radarhere/gimp_test
Added test for GimpPaletteFile
2015-07-01 09:07:15 +03:00
Andrew Murray
63a32a9c5b Added test for GimpPaletteFile 2015-07-01 15:47:47 +10:00
Antony Lee
95d619add5 libtiff's rational precision is limited to C floats. 2015-06-30 18:38:31 -07:00
Andrew Murray
abe25b7191 Rearranged format handler fetching 2015-07-01 09:19:28 +10:00
Andrew Murray
4fbea3e553 Added multiframe GIF test 2015-07-01 09:18:05 +10:00
Alex Clark
53d0e75d3f Merge pull request #1312 from d-schmidt/patch-1
gif doc improved
2015-06-30 08:32:21 -04:00
Alex Clark
445a8c06fc Bump 2015-06-30 08:04:35 -04:00
Alex Clark
be1df0f33c Merge pull request #1320 from radarhere/gifmaker
Merged gifmaker into GifImagePlugin
2015-06-30 08:00:39 -04:00
Alex Clark
c489150602 Merge pull request #1319 from radarhere/is_animated
Added is_animated
2015-06-30 07:59:56 -04:00
Alex Clark
d29c3937ee Merge pull request #1302 from hugovk/1301_integer_expected
DPI should be tuple of ints, not floats
2015-06-30 07:57:28 -04:00
Alex Clark
356929f0f8 Merge pull request #1298 from hugovk/flake8_winbuild
Flake8 style changes for winbuild
2015-06-30 07:56:41 -04:00
Alex Clark
4298b317ef Merge pull request #1317 from hugovk/run-check-manifest-on-travis
Check manifest on Travis CI
2015-06-30 07:52:43 -04:00
Andrew Murray
7227b4d01d Added test 2015-06-30 18:07:23 +10:00
Andrew Murray
2c4fe7281f Merged gifmaker into GifImagePlugin 2015-06-30 18:02:48 +10:00
hugovk
02caa81bfe Merge remote-tracking branch 'upstream/master' into flake8_winbuild
Conflicts:
	winbuild/config.py
2015-06-30 09:46:11 +03:00
hugovk
593a910e92 Unit test and image: convert hopper.png hopper.bmp 2015-06-30 07:09:35 +03:00
Andrew Murray
d20eef450b Added is_animated 2015-06-30 13:25:00 +10:00
Alex Clark
75be4af068 Merge pull request #1282 from radarhere/eoferror
Frame position when seeking past the end of file
2015-06-29 20:16:15 -04:00
Antony Lee
5b348bb695 Fail on invalid EXIF, reverting ed2cca1. 2015-06-29 15:37:58 -07:00
Antony Lee
752d46324c Reorder OPEN_INFO to cover both endiannesses.
By interleaving little and big-endian entries we make sure entries
exist for both cases.  Some additional entries created when the
big-endian was missing.  I am not sure of what entry to create for the
big-endian, 4-bit case (what is the order of the two entries within the
byte?).
2015-06-29 12:45:17 -07:00
Antony Lee
96c391559d Support too long ExtraSamples.
Some programs generate SamplesPerPixel entries in ExtraSamples instead
of SamplesPerPixel-3, cf. #1227.  This is a stopgap measure to support
them.  One could also decide to add generic code to always support
having SamplesPerPixel entries (by dropping the first 3).
2015-06-29 12:45:17 -07:00
Antony Lee
c4c1b6e980 Restore legacy TIFF API.
To have the old API that always returns tuples, and fractions as pairs,
set the `legacy_api` attribute of the IFD to True.

This should alleviate concerns about backwards compatibility.
2015-06-29 12:45:17 -07:00
Antony Lee
63b492f83f Include tests of #1113. 2015-06-29 12:45:17 -07:00
Antony Lee
157215ec85 Fix MPO support, and Python2.6 support. 2015-06-29 12:45:17 -07:00
Antony Lee
4d7a5695b8 Fix EXIF support. 2015-06-29 12:45:17 -07:00
Antony Lee
634e752445 Major rewrite of TIFF ImageFileDirectory.
Do not represent scalar tags as 1-element tuples.  Keep tag
type and count information in TiffTags.TAGS.  Normalize data in
ImageFileDirectory.__setitem__: wrap and unwrap tuples as needed,
convert rationals to floats.  (To ensure consistency, make the "tags"
attribute private.)  Interpret byte data as a series of integers rather
than a bytearray (which should only map to the "undefined" type).  On
Python3, if a str is assigned to an "undefined" tag, encode it as ASCII.

Note that a large number of tags have been removed from TiffTags.TAGS
because I do not have time to figure out the type and count of each of
them.  They should be restored before this gets merged in.

This obviously breaks backwards compatibility in a lot of ways...
2015-06-29 12:45:17 -07:00
Antony Lee
b9bccd12ff Fix setting of TIFF ExtraSamples tag.
- force cast ExtraSamples to a list.
- fix calls to ImagingLibTiffSetField to include array length.
2015-06-29 12:44:29 -07:00
hugovk
24eceff7df Run check-manifest 2015-06-29 16:58:53 +03:00
Alex Clark
96944e2dd6 Bump 2015-06-29 08:57:55 -04:00
Hugo van Kemenade
fc18f08eb5 Update CHANGES.rst [CI skip] 2015-06-29 10:22:03 +03:00
Hugo van Kemenade
06a2f4bf76 Merge pull request #1316 from radarhere/patch-1
Fixed ValueError in Python 2.6
2015-06-29 10:20:26 +03:00
Hugo van Kemenade
bcf93b6d3e Merge pull request #1315 from cgohlke/patch-1
TST: fix ValueError on Python 2.6
2015-06-29 10:20:04 +03:00
Andrew Murray
29cb7d24b8 Fixed ValueError in Python 2.6 2015-06-29 14:59:05 +10:00
Christoph Gohlke
3dd3c4e28c TST: fix ValueError on Python 2.6 2015-06-28 20:50:17 -07:00
Alex Clark
efe925c26f Fix manifest [ci skip] 2015-06-28 15:07:01 -04:00
Alex Clark
7a3268d4ae Set default makefile target
"make" runs release test
2015-06-28 14:57:51 -04:00
David Schmidt
ac7b4b825a gif doc improved
- missing closing brackt
- EOFError mentioned
2015-06-28 13:04:46 +02:00
Hugo van Kemenade
9275c2561b Merge pull request #1311 from radarhere/patch-1
Fixed typo
2015-06-28 08:18:27 +03:00
Andrew Murray
46fad0fd63 Fixed typo 2015-06-28 12:03:11 +10:00
Hugo van Kemenade
552e7a579b Update CHANGES.rst [CI skip] 2015-06-27 20:53:32 +03:00
Hugo van Kemenade
21f73f26ca Merge pull request #1308 from radarhere/tox
Fixed tox test script path
2015-06-27 20:52:51 +03:00
Andrew Murray
1c7a140298 Fixed tox test script path 2015-06-27 09:10:01 +10:00
wiredfool
0c3615e3c7 Merge pull request #1306 from wiredfool/tcl85_update
Updated tcl/tk extract directories
2015-06-26 10:25:15 -07:00