Glandos
e37b3fb7d3
don't try to hash value if enum is empty
...
Very few tags have an enum, and for those who don't, computing the hash value can be very expensive, e.g. instances of `fractions.Fraction` as mentioned in [the source](https://github.com/python/cpython/blob/master/Lib/fractions.py#L543 ).
2018-12-20 16:07:03 +01:00
Hugo
9dd0348be2
Merge pull request #3495 from radarhere/badges
...
Updated badge URLs
2018-12-15 11:22:53 +02:00
Andrew Murray
cb4f948ac0
Updated redirected URL
2018-12-15 00:05:35 +11:00
Hugo
2f834ea21a
Update CHANGES.rst
2018-12-13 21:15:13 +02:00
Hugo
69837baba2
Merge pull request #3490 from radarhere/open_files
...
Updated open files documentation
2018-12-13 21:14:22 +02:00
Hugo
73fc7a9f3d
Merge pull request #3488 from hugovk/upgrade-pypy
...
Travis CI: Upgrade PyPy from 5.8.0 to 6.0
2018-12-13 21:14:03 +02:00
Hugo
3ed5dcc928
Merge pull request #3467 from hugovk/lint-can-fail
...
CI: Allow lint job to fail
2018-12-13 21:09:58 +02:00
Hugo
961fecb35c
Merge pull request #3261 from radarhere/fp
...
Resolve __fp when closing and deleting
2018-12-13 21:09:23 +02:00
Hugo
857b077f5c
Merge pull request #3461 from radarhere/exclusive_fp
...
Close exclusive fp before discarding
2018-12-13 21:07:32 +02:00
Andrew Murray
dfdfe6327b
Changed Read The Docs image URLs to match README
2018-12-14 05:59:56 +11:00
Andrew Murray
fc87e68d8c
Changed pillow-wheels badge branch to master
2018-12-14 05:59:55 +11:00
Hugo
2659edae9d
Merge pull request #3493 from radarhere/libjpegturbo
...
Added libjpeg_turbo to check_feature
2018-12-13 20:57:54 +02:00
Andrew Murray
233915bf9d
Updated strings
2018-12-13 19:19:45 +11:00
Andrew Murray
49b23157c4
Include header
2018-12-13 19:18:17 +11:00
Hugo
0635e38514
Updated list syntax
...
Co-Authored-By: radarhere <3112309+radarhere@users.noreply.github.com>
2018-12-13 00:28:26 +11:00
Andrew Murray
7172a44caa
Added libjpegturbo to check_feature
2018-12-12 21:25:05 +11:00
Andrew Murray
b0330047ff
Minor edit
2018-12-12 00:53:31 +11:00
Hugo
94f4c4a682
Apply suggestions from code review
...
Minor edits
Co-Authored-By: radarhere <3112309+radarhere@users.noreply.github.com>
2018-12-12 00:50:32 +11:00
Andrew Murray
91f727051b
Updated open files documentation
2018-12-11 14:39:10 +11:00
Konstantin Kopachev
e91b851fdc
Add reading old-JPEG compressed TIFFs
...
Old-style JPEG compression in TIFFs are able to be read using Strip/Tile APIs. Although, it should be possible to read them using Scanline API, it does not work for some reason. Anyway, reading subsampled YCbCr formats through Strip/Tile/Scanline libtiff API does not de-subsample the data, so caller should unpack data to whatever format is appropriate. New-style JPEG compressed images were already read through libtiff as RGB images (https://github.com/python-pillow/Pillow/pull/3227 ). Unfortunately, there is no flag to ask libtiff to de-subsample old jpeg, but it provides a way to read any image as 32bit RGBA. This commit adds ability to read old-style JPEG TIFFs through reading *all* YCbCr images as RGBX using Tile and Strip reading API. This supersedes previous work (PR #3227 ) to read new-style JPEG-TIFFs.
2018-12-10 10:07:41 -08:00
Hugo
ae21462249
Docs: Update CI targets
2018-12-08 17:12:36 +02:00
Hugo
6f24d5056a
Merge pull request #24 from radarhere/add-deprecations-and-removals-docs
...
Stopped code highlighting
2018-12-07 22:34:18 +02:00
Andrew Murray
5eb7fa1a78
Stopped code highlighting
2018-12-08 06:28:46 +11:00
Hugo
fa14534e51
PyPy 6.0 requires Xenial on Travis CI
2018-12-06 17:30:12 +02:00
Hugo
58b4583520
Upgrade PyPy from 5.8.0 to 6.0
2018-12-06 17:29:41 +02:00
Hugo
b4e485ca53
Add deprecations and removals page to docs
2018-12-06 10:56:07 +02:00
Hugo
27c86baa56
Merge pull request #3485 from radarhere/constants
...
Updated comments
2018-12-05 22:58:13 +02:00
Andrew Murray
ad26f53bf6
Updated comments
2018-12-05 18:19:00 +11:00
Hugo
ffa4932ed0
noqa a pair of ambiguous variable names
2018-12-04 23:25:28 +02:00
Hugo
c353225851
Prefer 'except Exception:' to bare 'except:'
2018-12-04 23:25:28 +02:00
Hugo
e10b22aca2
Remove unused 'sys' import
2018-12-04 23:25:28 +02:00
Hugo
c75910dbc3
noqa some Py2/3 compat lines and others
2018-12-04 23:25:27 +02:00
Hugo
f3c1f08f5b
noqa the few remaining long and hard-to-split lines
2018-12-04 23:25:27 +02:00
Hugo
38d06173cc
Set flake8 max-line-length to a common-ish value (80+10%)
2018-12-04 23:25:27 +02:00
Hugo
a9f847bed1
Lint job can fail build
2018-12-04 23:25:27 +02:00
Hugo
2f28a01fe7
Update CHANGES.rst
2018-12-04 23:24:04 +02:00
Hugo
231604e921
Merge pull request #3471 from radarhere/background
...
Change color table index background to tuple when saving as WebP
2018-12-04 23:22:53 +02:00
Hugo
a4fccd3dde
Merge pull request #3479 from radarhere/gif_extension
...
Allow arbitrary number of comment extension subblocks
2018-12-04 23:09:59 +02:00
Hugo
0c2e4840f2
Merge pull request #3478 from radarhere/fli
...
Ensure previous FLI frame is loaded before seeking to the next
2018-12-04 22:51:54 +02:00
Hugo
5c16528fdf
Merge pull request #3450 from radarhere/imageshow
...
ImageShow improvements
2018-12-04 22:47:28 +02:00
Hugo
c34f89da44
Update CHANGES.rst
2018-12-01 22:49:57 +02:00
Hugo
891c15709c
Merge pull request #3465 from radarhere/tktcl
...
Updated Tk Tcl to 8.6.9
2018-12-01 22:46:24 +02:00
Hugo
c68058c045
Merge pull request #3468 from radarhere/libwebp
...
Updated libwebp to 1.0.1
2018-12-01 22:45:55 +02:00
Hugo
1e82f03de8
Merge pull request #3458 from radarhere/libtiff
...
Updated libtiff to 4.0.10
2018-12-01 22:45:39 +02:00
Hugo
47119091e0
Merge pull request #3442 from radarhere/libimagequant
...
Updated libimagequant to 2.12.2
2018-12-01 22:45:00 +02:00
Andrew Murray
b2b737b68b
Allow arbitrary number of comment extension subblocks
2018-11-27 21:11:22 +11:00
Andrew Murray
f1b2802eb1
Resolved error for comment extension with zero subblocks
2018-11-27 21:09:28 +11:00
Andrew Murray
2f7f945c84
Ensure previous FLI frame is loaded before seeking to the next
2018-11-26 18:52:51 +11:00
Hugo
080bfd3ee1
Merge pull request #3477 from radarhere/download-and-extract
...
Corrected usage statement
2018-11-25 17:36:39 +02:00
Andrew Murray
b249984ffe
Corrected usage statement
2018-11-26 00:05:57 +11:00