Commit Graph

3458 Commits

Author SHA1 Message Date
Hugo van Kemenade
1b5e662ee6
Merge pull request #5761 from nulano/stroke 2021-10-14 21:33:07 +03:00
nulano
19f4c6fd23 don't use bitmap glyphs when drawing text with stroker 2021-10-14 08:19:04 +01:00
pre-commit-ci[bot]
dbb0a41600 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2021-10-13 21:10:23 +00:00
Andrew Murray
1140f6538d
Ensure reset after test failure
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2021-10-14 08:09:36 +11:00
Andrew Murray
0b7fcbbc93
Merge branch 'master' into patch-2 2021-10-13 23:50:23 +11:00
Hugo van Kemenade
b34430b402
Merge pull request #5750 from radarhere/zero
Fixed Python errors when saving a (0, 0) TIFF image
2021-10-13 14:29:12 +03:00
Andrew Murray
b5d6a73da9 Added test 2021-10-13 11:39:31 +02:00
Andrew Murray
174b4893f3 Prefer global transparency for disposal method 2 2021-10-12 09:45:52 +11:00
Andrew Murray
8de429ecb9 Fixed Python errors when saving a (0, 0) TIFF image 2021-10-08 13:12:21 +11:00
Hugo van Kemenade
63c5faa0f6
Merge pull request #5688 from Google-Autofuzz/new_atheris 2021-09-13 09:27:57 +03:00
Andrew Murray
3f3828040b
Merge branch 'master' into tiff_exif 2021-09-07 06:33:37 +10:00
Hugo van Kemenade
869b786db1
Merge pull request #5696 from radarhere/quantize_palette 2021-09-06 15:42:12 +03:00
Hugo van Kemenade
a918186d92
Merge pull request #5667 from radarhere/ico
Read ICO AND mask from end
2021-09-05 14:30:10 +03:00
Hugo van Kemenade
5d399603db Update test case
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2021-09-02 15:03:03 +03:00
Hugo van Kemenade
1dc6564eb7 Raise ValueError if color specifier is too long 2021-09-02 15:02:57 +03:00
Eric Soroos
d5edc5ff09 FLI tests for Oss-fuzz crash.
* Note, valgrind doesn't pick this up, it's only the oss-fuzz
  reproducer that catches it OMM.
2021-09-02 15:02:27 +03:00
Andrew Murray
0dba28613b Copy Python palette to new image in quantize() 2021-08-31 00:33:10 +10:00
pre-commit-ci[bot]
3b69035d4b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2021-08-25 14:52:20 +00:00
Julien Voisin
9d48143567 Improve the fuzzer wrt. the current atheris version 2021-08-25 16:50:47 +02:00
Hugo van Kemenade
57c672efcc
Merge pull request #5654 from radarhere/ihdr 2021-08-24 15:08:23 +03:00
Andrew Murray
8b639f7546
Merge pull request #5686 from hugovk/fix-test-warnings
Fix/filter/avoid test warnings
2021-08-24 21:53:03 +10:00
Hugo van Kemenade
4c7777c425
Merge pull request #5599 from radarhere/palette
Updates for ImagePalette channel order
2021-08-24 14:52:46 +03:00
Hugo van Kemenade
d5d6c3ba8c
Merge pull request #5611 from radarhere/apng_info 2021-08-24 11:59:38 +03:00
Hugo van Kemenade
d773fcd23d Filter out UserWarning: Truncated File Read 2021-08-24 11:33:43 +03:00
Hugo van Kemenade
320ab8172e Avoid DecompressionBombWarning: Image size (151587072 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack. 2021-08-24 11:19:45 +03:00
Hugo van Kemenade
474270fbd5 Filter out UserWarning: Truncated File Read 2021-08-24 11:03:10 +03:00
Hugo van Kemenade
2b9e230f76 Fix ResourceWarning: unclosed file 2021-08-24 10:58:02 +03:00
Hugo van Kemenade
2d01f7d022
Merge pull request #5655 from radarhere/whiteiszero
Allow saving 1 and L mode TIFF with PhotometricInterpretation 0
2021-08-14 20:41:08 +03:00
Hugo van Kemenade
a7f5b25dc3
Merge pull request #5603 from radarhere/gif_palette
For GIF save_all with palette, do not include palette with each frame
2021-08-13 13:20:57 +03:00
Hugo van Kemenade
3d35e5458f
Merge pull request #5606 from radarhere/convert_transparency 2021-08-13 13:18:39 +03:00
Hugo van Kemenade
afebfcb096
Merge pull request #5647 from radarhere/transform_palette 2021-08-13 13:18:00 +03:00
Andrew Murray
98aa0f10ad pre-commit autoupdate --freeze 2021-08-12 21:50:09 +10:00
Andrew Murray
cbdc751628 Read AND mask from end 2021-08-10 07:04:36 +10:00
mergify[bot]
43785a3201
Merge pull request #5620 from radarhere/eps
Added "transparency" argument to EpsImagePlugin load()
2021-08-06 15:32:13 +00:00
Hugo van Kemenade
2e5ce839ba
Merge pull request #5633 from radarhere/save_path
Corrected pathlib.Path detection when saving
2021-08-06 17:15:15 +03:00
Andrew Murray
9bf7dae03d Allow saving L mode TIFF with PhotometricInterpretation 0 2021-08-06 23:50:52 +10:00
Andrew Murray
4063deddac
Merge branch 'master' into eps 2021-08-06 23:32:02 +10:00
Andrew Murray
caecb3a772 Merge branch 'master' into wal 2021-08-06 22:03:51 +10:00
Andrew Murray
929c561937 Merge branch 'master' into eps 2021-08-06 22:03:12 +10:00
Hugo van Kemenade
025f2071f5
Merge pull request #5598 from radarhere/i16
Consider I;16 pixel size when drawing text
2021-08-06 14:10:04 +03:00
Hugo van Kemenade
3307bf691f
Merge pull request #5594 from radarhere/convert
If default conversion from P is RGB with transparency, convert to RGBA
2021-08-06 14:08:38 +03:00
Andrew Murray
2dab52b8a8 Allow saving 1 mode TIFF with PhotometricInterpretation 0 2021-08-05 23:27:08 +10:00
Andrew Murray
6596e31605 Determine mode purely from ihdr header box 2021-08-05 01:06:01 +10:00
Hugo van Kemenade
5a9dacfc26
Merge pull request #5646 from radarhere/expand 2021-08-02 20:13:34 +03:00
Andrew Murray
6406dabf29
Merge pull request #5568 from rogermb/jpeg2000-resolution
Add support for reading DPI information from JPEG2000 images
2021-08-03 00:06:13 +10:00
Andrew Murray
02d92a594c Merge branch 'master' into expand 2021-08-02 23:39:16 +10:00
Alexander Karpinsky
a312b0e9d0
Merge pull request #5639 from uploadcare/jpeg-safe-dpi-read
Add TypeError handling to pass corrupted DPI value in EXIF
2021-08-02 14:34:54 +03:00
Andrew Murray
8045ecceef Added tests 2021-08-01 19:01:43 +10:00
Andrew Murray
ae54838146 If DPI is invalid, ignore it instead of raising an error 2021-08-01 18:38:56 +10:00
Andrew Murray
d1815377b8 Copy palette to new image in transform() 2021-07-31 22:49:16 +10:00