wiredfool
948772028b
Revert ICCProfile to length=1
2016-06-26 12:00:44 +01:00
wiredfool
870e94b229
Replaced numeric types with symbols
2016-06-26 09:12:15 +01:00
Diederik Veeze
12685ef7c1
Convert P to LA without deforming image
2016-06-25 23:14:21 +02:00
wiredfool
8e7f0cb192
Update CHANGES.rst [ci skip]
2016-06-25 15:31:26 +01:00
wiredfool
97dbb5cd33
Merge pull request #1977 from kkopachev/jpeg-junk-header
...
Skip extra 0xff00 in jpeg
2016-06-25 15:30:19 +01:00
wiredfool
a77fef739c
Update CHANGES.rst [ci skip]
2016-06-25 15:15:57 +01:00
wiredfool
c1d25d9062
Merge pull request #1985 from wiredfool/palette
...
Use bytearray for mutable palette storage
2016-06-25 15:14:07 +01:00
wiredfool
e56c3e4d2a
Update CHANGES.rst [ci skip]
2016-06-25 15:02:15 +01:00
wiredfool
95874635e1
Merge pull request #1984 from wiredfool/pr_1824
...
Pr 1824 rebase
2016-06-25 15:01:34 +01:00
wiredfool
0bc06f7944
Fix filename on py2.6
2016-06-25 14:50:40 +01:00
wiredfool
9e1b4aba9a
These modes upconvert to 32bit I
2016-06-25 14:33:26 +01:00
Bryant Mairs
4f2836e218
Move constant to module level.
2016-06-25 12:20:37 +01:00
Bryant Mairs
7d5856bdf7
Corrects fromarray() datatype mapping for integer datatypes.
...
Currently failing for int16LE as of this commit.
2016-06-25 12:20:37 +01:00
Bryant Mairs
7fb24e8af0
Add test for reading and writing uint16 TIFFs.
2016-06-25 12:20:37 +01:00
Bryant Mairs
f51e90bf33
Create named constant for repeated values.
2016-06-25 12:19:12 +01:00
Bryant Mairs
51247fb7f0
Test all applicable numpy datatypes for Image.fromarray()
2016-06-25 12:19:12 +01:00
wiredfool
4a63e9c384
Update CHANGES.rst [ci skip]
2016-06-25 12:17:13 +01:00
wiredfool
8d8990a9d4
Merge pull request #1942 from python-pillow/pyqt4-pyqt5
...
Fix for program importing PyQt4 when PyQt5 also installed
2016-06-25 12:16:16 +01:00
wiredfool
07d0539988
Update CHANGES.rst [ci skip]
2016-06-25 12:01:59 +01:00
wiredfool
55f02d1836
Merge pull request #1983 from wiredfool/github_depends
...
Changed urls to point to githup pillow-depends repo
2016-06-25 12:01:22 +01:00
wiredfool
301708516e
changed urls to point to githup pillow-depends repo, fixes travis errors
2016-06-25 11:35:32 +01:00
wiredfool
0064e2f6c0
Merge pull request #1982 from wiredfool/pr_1909
...
Docs for pr#1909
2016-06-25 11:12:19 +01:00
wiredfool
33cfaa6395
Update CHANGES.rst [ci skip]
2016-06-25 11:11:46 +01:00
wiredfool
2831acd89b
Updates for pr#1909
2016-06-25 11:10:11 +01:00
wiredfool
6a3acde001
Merge pull request #1909 from uploadcare/png-icc-profile
...
Get ICC profile from `encoderinfo` while PNG saving
2016-06-25 11:01:53 +01:00
Mitchel Humpherys
92096e1aa7
Tiff: Bail out if there are no valid exif tags
...
Some corrupted images end up with no valid exif tags. This case is
currently not handled gracefully, resulting in the following:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/mitchhumpherys/Sites/str-prod/env/lib/python2.7/site-packages/PIL/JpegImagePlugin.py", line 391, in _getexif
return _getexif(self)
File "/Users/mitchhumpherys/Sites/str-prod/env/lib/python2.7/site-packages/PIL/JpegImagePlugin.py", line 426, in _getexif
exif = dict(_fixup_dict(info))
File "/Users/mitchhumpherys/Sites/str-prod/env/lib/python2.7/site-packages/PIL/JpegImagePlugin.py", line 407, in _fixup_dict
return dict([(k, _fixup(v)) for k, v in src_dict.items()])
File "/Users/mitchhumpherys/Sites/str-prod/env/bin/../lib/python2.7/_abcoll.py", line 414, in items
return [(key, self[key]) for key in self]
File "/Users/mitchhumpherys/Sites/str-prod/env/lib/python2.7/site-packages/PIL/TiffImagePlugin.py", line 854, in __getitem__
self._setitem(tag, handler(self, data, legacy), legacy)
File "/Users/mitchhumpherys/Sites/str-prod/env/lib/python2.7/site-packages/PIL/TiffImagePlugin.py", line 534, in _setitem
dest[tag], = values
ValueError: need more than 0 values to unpack
Just bail out if there aren't any valid tags.
Fixes #1722
2016-06-23 09:22:04 -07:00
Konstantin Kopachev
c8f93c979c
Skip extra 0xff00 in jpeg
2016-06-22 13:36:23 -07:00
Hugo
1ab30d0ba5
Catch RuntimeError when importing Qt4
...
In case PySide is already imported
2016-06-22 11:25:59 +03:00
wiredfool
30eced6286
Updated Changes.rst [ci skip]
2016-06-21 14:40:47 +01:00
wiredfool
c9d92e2bfe
Merge pull request #1975 from SemanticsOS/lambdafu/pycms-overflow
...
Fix integer overflow on ILP32 systems (32-bit Linux).
2016-06-21 14:39:36 +01:00
Marcus Brinkmann
6f81501efd
Fix integer overflow on ILP32 systems (32-bit Linux).
2016-06-21 13:42:13 +02:00
wiredfool
4c01dc6550
Updated Changes.rst [ci skip]
2016-06-21 12:27:03 +01:00
wiredfool
4a8d2c6936
Merge pull request #1974 from wiredfool/pr_1966
...
change function declaration to match Tcl_CmdProc type
2016-06-21 12:26:03 +01:00
wiredfool
17668a96c6
Updated Changes.rst [ci skip]
2016-06-21 12:12:48 +01:00
homm
7bd341fecb
change function declaration to match Tcl_CmdProc type
2016-06-21 04:12:05 -07:00
wiredfool
bdd0a6a4e4
Merge pull request #1781 from wiredfool/malloc_check
...
Integer overflow checks on malloc
2016-06-21 12:09:19 +01:00
homm
95402143fe
ignore large text blocks in PNG if LOAD_TRUNCATED_IMAGES is enabled
2016-06-20 17:33:10 +03:00
Hugo
0132771eaa
Update CHANGES.rst [CI skip]
2016-06-20 12:41:11 +03:00
Hugo
08cb1dbf40
Merge pull request #1967 from mattBoros/image-equals-fix
...
Change equals method on Image so it short circuits
2016-06-20 12:40:25 +03:00
matt
53c9a80d1b
Changed equals method on Image so it short circuits. Also put getpalette() and tobytes() comparison at the end because they are the slowest operations.
2016-06-19 17:44:24 -04:00
wiredfool
9fb00976fc
Merge pull request #1962 from radarhere/colormap
...
Added new colour from CSS 4 draft
2016-06-19 09:56:55 +01:00
Hugo
aa9035ded8
Merge pull request #1964 from radarhere/spiderimageplugin
...
Change SpiderImagePlugin register and save calls to use format property
2016-06-19 10:20:45 +03:00
Andrew Murray
879aeb9b3a
Changed SpiderImagePlugin register and save calls to use format property
2016-06-19 15:13:02 +10:00
Hugo
d378508905
Merge pull request #1963 from radarhere/del
...
Replaced del with pop
2016-06-18 22:12:49 +03:00
Andrew Murray
86828ffd2a
Replaced del with pop
2016-06-18 11:25:39 +10:00
Andrew Murray
7882a79cf5
Added new colour from CSS 4 draft
2016-06-17 21:07:25 +10:00
wiredfool
95f464f827
removed redundant check
2016-06-16 01:09:38 -07:00
wiredfool
8aedf8b1d8
added comment closer to malloc
2016-06-16 01:07:28 -07:00
wiredfool
ce57e6adfb
We're not actually multiplying out the bytes, only the indexes
2016-06-16 01:06:28 -07:00
wiredfool
d0ae5bc75e
added check to prevent arcs > 360 degrees
2016-06-16 01:05:41 -07:00