Commit Graph

8240 Commits

Author SHA1 Message Date
Hugo
55e5b7de6c
Merge pull request #3393 from frenzymadness/CWE_fixes_master
Fixes for issues reported by static code analysis
2018-12-26 13:02:19 +02:00
Hugo
bbb3be9a9d
Merge pull request #3187 from radarhere/encoderinfo
Wait until mode is normalized to copy im.info into encoderinfo
2018-12-26 12:56:50 +02:00
Hugo
08a1901328
Merge pull request #3486 from hugovk/add-deprecations-and-removals-docs
Docs: Add page of deprecations and removals
2018-12-26 12:44:12 +02:00
Hugo
46dc505f88
Merge pull request #3505 from radarhere/tidelift
Added Tidelift badge
2018-12-26 12:43:39 +02:00
Andrew Murray
51318d70af Added Tidelift badge 2018-12-25 13:11:11 +11:00
Andrew Murray
22837c37e2 Read textual chunks located after IDAT chunks 2018-12-24 23:58:19 +11:00
Andrew Murray
95d80a7e5d Corrected data type [ci skip] 2018-12-24 17:05:38 +11:00
Glandos
0b8b3e679a
Add code comment 2018-12-22 15:29:31 +01:00
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