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
Andrew Murray
0f42cdd639
Added functions to Read The Docs sidebar
2018-11-23 18:57:17 +11:00
Hugo
d560118389
Merge pull request #3472 from hugovk/ci-vm
...
Travis CI: Remove 'sudo' config
2018-11-22 16:57:16 +02:00
Hugo
248d5f7eed
'sudo: required' no longer needed
2018-11-20 11:06:28 +02:00
Hugo
f87406479c
Use VM-based infrastructure https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-20 10:51:40 +02:00
Andrew Murray
6c126ca282
Change color table index background to tuple when saving
2018-11-20 19:50:14 +11:00
Andrew Murray
84df069169
Use im.info background when saving
2018-11-20 18:50:00 +11:00
Andrew Murray
e2a1ad329f
Changed libtiff to use .tar.gz
2018-11-19 22:46:27 +11:00
Andrew Murray
130b8b3971
Updated libtiff to 4.0.10
2018-11-19 22:45:39 +11:00
Andrew Murray
47775f3d50
Resolve __fp when closing and deleting
2018-11-17 21:56:06 +11:00
Hugo
50d49d619b
Merge pull request #3466 from radarhere/winbuild
...
Removed unused function
2018-11-17 11:42:27 +02:00
Andrew Murray
ea8a80ba31
Updated libwebp to 1.0.1
2018-11-17 19:55:24 +11:00
Andrew Murray
06eab8b2a0
Removed unused function
2018-11-17 19:44:13 +11:00
Andrew Murray
bbb4bdcd9e
Updated Tk Tcl to 8.6.9
2018-11-17 12:32:08 +11:00
Andrew Murray
68343197b1
Update CHANGES.rst [ci skip]
2018-11-17 12:31:15 +11:00
Hugo
9eb36da0b8
Merge pull request #3460 from radarhere/check_png_dos
...
Corrected TypeError in Python 3
2018-11-16 23:26:49 +02:00
Hugo
6a63693d23
Merge pull request #3459 from radarhere/core_resources
...
Added __main__ code to test_core_resources
2018-11-16 17:55:46 +02:00
Hugo
0b881555ad
Merge pull request #3464 from radarhere/quality_layers
...
Check quality_layers type
2018-11-16 17:55:06 +02:00