Andrew Murray
|
73ccda9cd1
|
Do not compare properties to themselves
|
2021-12-26 13:27:41 +11:00 |
|
Andrew Murray
|
ff723e45ab
|
Ensure that pixel data offset does not ignore palette
|
2021-12-21 12:43:50 +11:00 |
|
Andrew Murray
|
768c189a29
|
Correct image by scaling pixels
|
2021-12-15 06:39:05 +11:00 |
|
Christopher Bruns
|
e87745d9ec
|
Check if installed Qt version supports Format_Grayscale16
|
2021-12-15 06:39:05 +11:00 |
|
Christopher Bruns
|
b1cc094f57
|
Add 16-bit grayscale test
|
2021-12-15 06:39:05 +11:00 |
|
Andrew Murray
|
ec198899f6
|
Limit quantized palette to number of colors
|
2021-12-11 16:23:37 +11:00 |
|
Andrew Murray
|
fdec387b4a
|
Fixed palette index for zeroed color in FASTOCTREE quantize
|
2021-12-11 16:07:45 +11:00 |
|
Andrew Murray
|
5c05fe4d9b
|
Fixed raising OSError in _safe_read when size is greater than SAFEBLOCK
|
2021-12-07 11:40:44 +11:00 |
|
Andrew Murray
|
0e10a5cc7b
|
When saving RGBA, make use of first transparent palette entry
|
2021-12-07 06:37:01 +11:00 |
|
Andrew Murray
|
1fb1bec0e8
|
Added test
|
2021-11-29 17:49:19 +11:00 |
|
Andrew Murray
|
b383a175be
|
Convert subsequent GIF frames to RGB or RGBA
|
2021-11-29 17:49:06 +11:00 |
|
Andrew Murray
|
ab6efcb925
|
Merge pull request #5665 from infmagic2047/master
Do not return in ImageFile when saving to stdout
|
2021-11-26 00:12:40 +11:00 |
|
Andrew Murray
|
3a302f3e4b
|
Only add test to PPM
|
2021-11-25 23:33:59 +11:00 |
|
Andrew Murray
|
3af00edc85
|
Added context managers
|
2021-11-25 23:16:07 +11:00 |
|
Andrew Murray
|
2e9193a485
|
Pass SAMPLEFORMAT to libtiff
|
2021-11-23 08:10:18 +11:00 |
|
Hugo van Kemenade
|
c7a90551ae
|
Merge pull request #5829 from radarhere/tga_orientation
|
2021-11-21 14:14:41 +02:00 |
|
Hugo van Kemenade
|
877d97e858
|
Merge pull request #5845 from radarhere/icns
|
2021-11-21 14:12:01 +02:00 |
|
Hugo van Kemenade
|
b692faf596
|
Merge pull request #5839 from radarhere/tiff
|
2021-11-21 13:59:12 +02:00 |
|
Andrew Murray
|
838c8efa25
|
Corrected file length in header
|
2021-11-20 14:17:42 +11:00 |
|
Andrew Murray
|
7d4a8668b1
|
Block tile TIFF tags when saving
|
2021-11-18 22:01:53 +11:00 |
|
Andrew Murray
|
90a52d3c0d
|
Added width argument to polygon
|
2021-11-16 22:02:54 +11:00 |
|
Andrew Murray
|
d7873e02ab
|
Added test that translucent polygon pixels do not combine
|
2021-11-16 11:12:48 +11:00 |
|
Andrew Murray
|
fc90a9285a
|
Added support for top right and bottom right orientations
|
2021-11-11 21:53:28 +11:00 |
|
Hugo van Kemenade
|
18d34b287f
|
Add support for pickling TrueType fonts
|
2021-11-10 14:34:20 +02:00 |
|
Andrew Murray
|
bb6212a332
|
Added rounding when converting P and PA
|
2021-11-10 08:00:58 +11:00 |
|
DWesl
|
5a41417224
|
Skip test_readonly_save on Cygwin.
The test seems to require opening a file for reading, mmapping it,
then opening that file for writing. Windows doesn't allow this.
|
2021-11-04 19:48:53 -04:00 |
|
Hugo van Kemenade
|
31a96b9c9b
|
Upgrade Python syntax with pyupgrade --py36-plus and format with Black
|
2021-10-19 15:34:52 +03:00 |
|
Hugo van Kemenade
|
716a0baf74
|
Drop support for EOL Python 3.6
|
2021-10-19 15:34:52 +03:00 |
|
Andrew Murray
|
e6ffeac66f
|
Updated image comparison
|
2021-10-19 16:08:23 +11:00 |
|
Hugo van Kemenade
|
cb5c8f6f86
|
Remove unused left_old variable
|
2021-10-18 11:28:14 +03:00 |
|
Hugo van Kemenade
|
606b5ae1e5
|
Remove support for FreeType 2.7 and older
|
2021-10-18 09:29:53 +03:00 |
|
Andrew Murray
|
83864b01cf
|
Removed Image.show command parameter
|
2021-10-18 11:08:51 +11:00 |
|
Andrew Murray
|
499040491b
|
Removed Image._showxv
|
2021-10-18 11:06:06 +11:00 |
|
Andrew Murray
|
e444e7ab6d
|
Removed ImageFile.raise_ioerror
|
2021-10-18 11:06:02 +11:00 |
|
Andrew Murray
|
cd50d468ba
|
Removed PILLOW_VERSION
|
2021-10-18 11:05:53 +11:00 |
|
Hugo van Kemenade
|
a8c18d0817
|
Rename master to main
|
2021-10-15 17:30:05 +03:00 |
|
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 |
|
Andrew Murray
|
1b397751ec
|
Added context managers
|
2021-08-24 23:43:38 +10: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 |
|
Yutao Yuan
|
0f11d22cce
|
Add tests for saving to stdout
|
2021-08-10 19:12:20 +08: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 |
|
Andrew Murray
|
61419b54d6
|
Merge pull request #5645 from farizrahman4u/patch-2
Do not close file pointer in SGI save handler
|
2021-07-31 13:53:37 +10:00 |
|
Andrew Murray
|
300f1ffc02
|
Added test
|
2021-07-30 20:29:07 +10:00 |
|
Andrew Murray
|
438c3cc097
|
Speed up rotating square images by 90 or 270 degrees
|
2021-07-30 19:57:09 +10:00 |
|
Andrew Murray
|
a9372d5cf0
|
Fixed generated palettes
|
2021-07-29 16:20:20 +10:00 |
|
Andrew Murray
|
cf275737ee
|
Do not rearrange palette channels
|
2021-07-29 16:20:20 +10:00 |
|
Andrew Murray
|
41b968ad10
|
Deprecate ImagePalette size parameter
|
2021-07-29 16:19:53 +10:00 |
|
Hugo van Kemenade
|
faaeee1e7d
|
Merge pull request #5601 from radarhere/webp_icc_profile
Allow saving WebP with icc_profile None
|
2021-07-28 13:10:36 +03:00 |
|
Hugo van Kemenade
|
4e4d580dfd
|
Merge pull request #5597 from radarhere/ycbcr_tiff
Added tags when saving YCbCr TIFF
|
2021-07-28 13:08:54 +03:00 |
|
Hugo van Kemenade
|
5f39e8e60a
|
Merge pull request #5613 from radarhere/psd
|
2021-07-28 12:53:24 +03:00 |
|
Alexander Karpinsky
|
3abe5e884b
|
Add TypeError handling to pass corrupted dpi value in exif
|
2021-07-26 16:13:01 +03:00 |
|
Hugo van Kemenade
|
567fbaf782
|
Merge pull request #5615 from radarhere/expand
Fixed ImageOps expand with tuple border on P image
|
2021-07-26 11:33:26 +03:00 |
|
Andrew Murray
|
4038a287ee
|
Corrected pathlib.Path detection when saving
|
2021-07-24 14:21:33 +10:00 |
|