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
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
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
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
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
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
Andrew Murray
61397de88b
Check quality_layers type
2018-11-16 23:31:42 +11:00
Andrew Murray
9a1c3915ae
Corrected TypeError in Python 3
2018-11-13 21:45:52 +11:00
Andrew Murray
3ff4b54050
Added __main__ code
2018-11-12 19:54:26 +11:00
Hugo
e3d5494a51
Merge pull request #3412 from hugovk/diffcover
...
CI: Fix diff-cover, move linting to own job, name the jobs
2018-11-11 20:59:24 +02:00
Hugo
12028c9789
Merge pull request #3440 from hugovk/fix-flake8
...
Fix flake8
2018-11-11 20:57:59 +02:00
Hugo
a568a8730e
flake8: E302 expected 2 blank lines, found 1
2018-11-11 19:01:11 +02:00
Hugo
ceebfc6fe8
flake8: E501 line too long
2018-11-11 19:01:11 +02:00
Hugo
7d625940ae
flake8: E131 continuation line unaligned for hanging indent
2018-11-11 19:01:11 +02:00
Hugo
254f959c3a
flake8: E127 continuation line over-indented for visual indent
2018-11-11 19:01:11 +02:00
Hugo
94c94eb1f7
flake8: E128 continuation line under-indented for visual indent
2018-11-11 19:01:11 +02:00
Hugo
717add44b0
flake8: E201 whitespace after '('
2018-11-11 19:01:11 +02:00
Hugo
6fbebdeeb3
flake8: E265 block comment should start with '# '
2018-11-11 19:01:10 +02:00
Hugo
a3079eab9e
flake8: E127 continuation line over-indented for visual indent
2018-11-11 19:01:10 +02:00
Hugo
afefc99096
flake8: E122 continuation line missing indentation or outdented
2018-11-11 19:01:10 +02:00
Hugo
0b7910c7cd
flake8: E402 module level import not at top of file
2018-11-11 19:01:10 +02:00
Hugo
8a6f2b9de8
flake8: E711 comparison to None should be 'if cond is None:'
2018-11-11 19:01:10 +02:00
Hugo
91da8ff31d
flake8: F401 imported but unused
2018-11-11 19:01:10 +02:00
Hugo
eb9aee7048
flake8: F841 local variable is assigned to but never used
2018-11-11 19:01:10 +02:00
Hugo
302f86292c
Merge pull request #3392 from hugovk/update-tests
...
Update tests
2018-11-11 18:52:11 +02:00
Hugo
f542697a7a
Update CHANGES.rst
2018-11-11 13:05:36 +02:00
Hugo
c78cd81746
Merge pull request #3455 from radarhere/tario
...
Added context manager, __del__ and close methods to TarIO
2018-11-11 11:04:52 +00:00
Andrew Murray
e3220c0f4d
Changed capitalisation
2018-11-11 16:00:48 +11:00
Hugo
5288cf63c9
Changed capitalisation
...
Co-Authored-By: radarhere <3112309+radarhere@users.noreply.github.com>
2018-11-11 16:00:40 +11:00
Andrew Murray
52c175d1bc
Added context manager, __del__ and close methods
2018-11-11 16:00:17 +11:00
Hugo
c501eedcb5
Update CHANGES.rst
2018-11-10 15:07:24 +02:00
Hugo
8feed91ec1
Merge pull request #3454 from radarhere/imagegrab
...
Do not play sound when running screencapture command
2018-11-10 12:48:01 +00:00
Hugo
47ffd18b10
Merge pull request #3456 from radarhere/exclusive_fp
...
Close exclusive fp on open exception
2018-11-10 12:44:55 +00:00
Andrew Murray
747eccbfc2
Close exclusive fp on open exception
2018-11-09 11:35:08 +11:00
Andrew Murray
40c6e4f136
Do not play sound when running screencapture command
2018-11-08 06:05:45 +11:00