Commit Graph

12764 Commits

Author SHA1 Message Date
Piolie
be97a851a8 Update src/PIL/PpmImagePlugin.py
Remove commented line.

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-03-04 17:03:17 +11:00
Piolie
c1744e8536 Add tests for plain PPM 2022-03-04 17:03:07 +11:00
Piolie
652f447412 Implement grayscale/color decoder 2022-03-04 16:59:01 +11:00
Piolie
ea7e108ca3 Implement bitonal decoder 2022-03-04 16:58:56 +11:00
Piolie
1ed05715d2 Expand preamble and _open function 2022-03-04 16:58:48 +11:00
Andrew Murray
d1124cd2b9 Update CHANGES.rst [ci skip] 2022-03-04 16:35:28 +11:00
Andrew Murray
6d432f2a81
Merge pull request #5121 from Piolie/PPMheaders
Improve handling of PPM headers
2022-03-04 16:30:35 +11:00
Andrew Murray
f7504b1ef9 Changed variable 2022-03-04 15:49:37 +11:00
Andrew Murray
4f8173f53f Refactored to reduce risk of infinite loop 2022-03-04 15:22:47 +11:00
Andrew Murray
d96830115f Updated tests 2022-03-04 15:22:41 +11:00
Andrew Murray
65edcc4f77 Merge branch 'main' into PPMheaders 2022-03-04 12:30:41 +11:00
Andrew Murray
f5b9e2c43a Explicitly check if magic number is empty 2022-03-04 12:29:20 +11:00
Andrew Murray
3426052874 Removed re-raising of exception 2022-03-04 12:27:28 +11:00
Andrew Murray
cb4e26783f Retain variable case for backwards compatibility 2022-03-04 12:27:14 +11:00
Andrew Murray
e2e87d73c3 Reverted SyntaxError change to match other plugins 2022-03-04 12:26:55 +11:00
mergify[bot]
92c26a77ca
Merge pull request #6104 from radarhere/harfbuzz
Updated harfbuzz to 4.0.0
2022-03-02 06:51:21 +00:00
Andrew Murray
81a4c41022 Update CHANGES.rst [ci skip] 2022-03-02 17:36:26 +11:00
Hugo van Kemenade
2355001797
Merge pull request #6101 from radarhere/mpo
Reset size when seeking away from "Large Thumbnail" MPO frame
2022-03-02 08:08:20 +02:00
Andrew Murray
211639b4f3 Updated harfbuzz to 4.0.0 2022-03-02 11:00:28 +11:00
Hugo van Kemenade
172fd6c3a7
Merge pull request #6098 from radarhere/python310 2022-03-01 12:04:00 +02:00
Andrew Murray
573cf278f1 Reset size when seeking away from "Large Thumbnail" MPO frame 2022-03-01 19:10:10 +11:00
Andrew Murray
949e4afaa9 Updated Python for doccheck to 3.10 2022-03-01 09:19:04 +11:00
Hugo van Kemenade
37d28ce514
Merge pull request #6095 from radarhere/pyencoder 2022-02-28 22:18:19 +02:00
Andrew Murray
f2987d65c0 Linked to file codec documentation 2022-02-28 08:36:26 +11:00
Andrew Murray
13cedb9221 Added release notes for #6069 2022-02-28 08:36:18 +11:00
Andrew Murray
2f2b48dc2c Update CHANGES.rst [ci skip] 2022-02-28 08:32:21 +11:00
mergify[bot]
8abff14a3a
Merge pull request #6072 from hugovk/extras_require
Replace requirements.txt with extras
2022-02-27 21:31:03 +00:00
Andrew Murray
2559913342 Update CHANGES.rst [ci skip] 2022-02-28 08:03:16 +11:00
Hugo van Kemenade
00563327a2
Quotes may be needed on macOS
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-02-27 18:43:06 +02:00
Hugo van Kemenade
1d3b373160
Merge pull request #6069 from radarhere/pyencoder 2022-02-27 18:34:09 +02:00
Hugo van Kemenade
841d60c35f
Merge pull request #6087 from radarhere/tga 2022-02-27 18:25:21 +02:00
Hugo van Kemenade
6b9b392ccc
Merge pull request #6091 from radarhere/libjpeg_turbo 2022-02-26 22:27:45 +02:00
Andrew Murray
5e32c5d22f Updated libjpeg-turbo to 2.1.3 2022-02-26 15:25:50 +11:00
Andrew Murray
e36774617c Added BLP1 saving 2022-02-25 23:58:13 +11:00
Hugo van Kemenade
7ee9a0ed86
Merge pull request #81 from radarhere/extras_require 2022-02-25 08:54:49 +02:00
Andrew Murray
1859bc3462 Added reading non-JPEG BLP1 as RGBA 2022-02-25 17:50:21 +11:00
Andrew Murray
3ec928251c Fixed reading uncompressed BLP2 with alpha 2022-02-25 16:54:53 +11:00
Andrew Murray
169025df6c Added BLP saving 2022-02-25 16:53:53 +11:00
Andrew Murray
747029bea9 Simplified code 2022-02-25 16:07:32 +11:00
Andrew Murray
a0e1fde1ed Added PyEncoder 2022-02-25 16:07:01 +11:00
Andrew Murray
2e71925ee9 Further ensuring dependencies are installed 2022-02-25 10:37:38 +11:00
Andrew Murray
fa1e89ff84 Further invoking of commands through python3 2022-02-25 10:25:06 +11:00
Andrew Murray
62a80867d6 Removed deprecated install-venv 2022-02-25 10:24:50 +11:00
Andrew Murray
dac5dfc35b Changed level of other Deprecations subheadings to be consistent 2022-02-25 10:24:29 +11:00
Andrew Murray
afb7728b8c Moved unrelated tests out of TestPyDecoder 2022-02-25 09:41:39 +11:00
Andrew Murray
0d729941a8 Handle packets that cross scan lines 2022-02-25 09:41:16 +11:00
Andrew Murray
17d342bc4b Simplified code as both values are 7 bit 2022-02-25 09:41:16 +11:00
Hugo van Kemenade
c55d5d2401 Document requirements.txt -> extras_require in release notes 2022-02-24 17:59:34 +02:00
Andrew Murray
7566f8c3b2 Ensure dependencies are installed 2022-02-24 17:59:34 +02:00
Andrew Murray
c0e770c3c9 Invoke commands through python3 2022-02-24 17:59:34 +02:00