Andrew Murray
|
af90dd773b
|
Raise an error when performing a negative crop
|
2022-01-18 16:38:00 +11:00 |
|
Andrew Murray
|
ddb0a6393f
|
Added test
|
2022-01-18 11:46:29 +11:00 |
|
Andrew Murray
|
acd33bf62a
|
Removed unused images
|
2022-01-18 09:10:36 +11:00 |
|
Andrew Murray
|
86944abbab
|
Deprecated show_file "file" argument in favour of "path"
|
2022-01-15 16:08:37 +11:00 |
|
Andrew Murray
|
ed8073e846
|
Deprecated constants in favour of enums
|
2022-01-15 10:07:07 +11:00 |
|
Andrew Murray
|
f8e4e9c2dd
|
Added enums
|
2022-01-15 09:02:31 +11:00 |
|
Andrew Murray
|
2d9dfefe6e
|
Added specific error if coordinate type is incorrect
|
2022-01-08 13:47:51 +11:00 |
|
Hugo van Kemenade
|
5908ccc5ae
|
Merge pull request #5938 from radarhere/zero
Return an empty bytestring from tobytes() for an empty image
|
2022-01-07 08:34:50 +02:00 |
|
Andrew Murray
|
b5160591bc
|
Return an empty bytestring from tobytes() for an empty image
|
2022-01-07 16:29:38 +11:00 |
|
Andrew Murray
|
fbe396f22a
|
Removed duplicate check
|
2022-01-07 12:34:58 +11:00 |
|
pre-commit-ci[bot]
|
52f29a537d
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2022-01-03 17:11:34 +00:00 |
|
Andrew Murray
|
8531b01d6c
|
Restrict builtins for ImageMath.eval
|
2022-01-02 17:23:49 +11:00 |
|
Andrew Murray
|
1059eb5376
|
If appended EOI did not work, do not keep trying
|
2022-01-01 21:04:32 +11:00 |
|
Andrew Murray
|
525c840b0f
|
Updated path after pillow-wheels switched to libjpeg-turbo
|
2022-01-01 20:15:06 +11:00 |
|
Andrew Murray
|
5543e4e2d4
|
Merge pull request #5920 from radarhere/calloc
Fixed ImagePath.Path array handling
|
2022-01-01 19:16:11 +11:00 |
|
Andrew Murray
|
c48271ab35
|
Handle case where path count is zero
|
2022-01-01 15:44:04 +11:00 |
|
Andrew Murray
|
1e092419b6
|
Initialize coordinates to zero
|
2022-01-01 15:44:04 +11:00 |
|
Andrew Murray
|
7370a0b1cf
|
Remove consecutive duplicates that only differ by their offset
|
2022-01-01 14:54:23 +11:00 |
|
Andrew Murray
|
1998d12bb6
|
Added sys import
|
2021-12-30 00:11:20 +11:00 |
|
Andrew Murray
|
4d1d2c9855
|
Merge pull request #5807 from DWesl/tkimaging-on-cygwin
Use the Windows method to get TCL functions on Cygwin
|
2021-12-30 00:08:31 +11:00 |
|
Andrew Murray
|
d8f2fb50a4
|
Merge pull request #5404 from radarhere/feed
Changed error type to allow for incremental WebP parsing
|
2021-12-29 07:33:56 +11:00 |
|
Hugo van Kemenade
|
3c39be3bc2
|
Merge pull request #5901 from radarhere/i16
Improved I;16 operations on big endian
|
2021-12-28 10:12:00 +02:00 |
|
Hugo van Kemenade
|
fccc261386
|
Merge pull request #5899 from radarhere/bmp
Ensure that BMP pixel data offset does not ignore palette
|
2021-12-28 10:10:08 +02:00 |
|
Hugo van Kemenade
|
17ec8b5c98
|
Merge pull request #5879 from radarhere/quantize
Limit quantized palette to number of colors
|
2021-12-28 10:08:54 +02:00 |
|
Hugo van Kemenade
|
cc670c940e
|
Merge pull request #5869 from radarhere/quantize_palette
Fixed palette index for zeroed color in FASTOCTREE quantize
|
2021-12-28 10:05:58 +02:00 |
|
Hugo van Kemenade
|
f560707def
|
Merge pull request #5859 from radarhere/saving_rgba_gif
When saving RGBA to GIF, make use of first transparent palette entry
|
2021-12-28 10:04:10 +02:00 |
|
Hugo van Kemenade
|
1806cf5607
|
Merge pull request #5848 from radarhere/sampleformat
Pass SAMPLEFORMAT to libtiff
|
2021-12-28 10:03:16 +02:00 |
|
Hugo van Kemenade
|
e7b53259d1
|
Merge pull request #5824 from radarhere/l_macro
Added rounding when converting P and PA
|
2021-12-28 10:02:36 +02:00 |
|
Hugo van Kemenade
|
8e631e4cd9
|
Merge pull request #5910 from radarhere/putdata
Improved putdata() documentation and data handling
|
2021-12-28 09:53:33 +02:00 |
|
Andrew Murray
|
aeb549ef8f
|
Fixed unpacking I;16B to I;16 on big endian
|
2021-12-28 17:38:01 +11:00 |
|
Andrew Murray
|
4b7b07de70
|
Fixed JPEG2000 I;16 images on big endian
|
2021-12-28 17:06:05 +11:00 |
|
Hugo van Kemenade
|
dd8049363e
|
Use more specific regex chars to prevent ReDoS - exclude carriage return
|
2021-12-28 10:22:39 +11:00 |
|
Andrew Murray
|
e0d5417bcd
|
Raise an error if sequence is not flattened
|
2021-12-28 09:38:41 +11:00 |
|
Andrew Murray
|
e9294d890f
|
Accept float values for putdata() in Python 3.10
|
2021-12-28 09:38:41 +11:00 |
|
Andrew Murray
|
4222605442
|
Fixed freeing pointer
|
2021-12-27 13:39:37 +11:00 |
|
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 |
|