Commit Graph

835 Commits

Author SHA1 Message Date
Andrew Murray
f1fef09d4a Support arbitrary masks for uncompressed RGB images 2023-11-30 21:13:59 +11:00
Nulano
0cef9f251c fix drawing text alpha on RGBA image on big-endian platforms 2023-11-27 17:12:12 +01:00
Nulano
f3b3442c50 add test for glyph alpha blending 2023-11-27 16:25:04 +01:00
ZachNagengast
29ca3fcf3a Update caron_below_ttb_lb test image 2023-11-12 11:36:35 -08:00
ZachNagengast
0a33b30614 Update caron_below_ttb test image 2023-11-11 18:45:21 -08:00
ZachNagengast
d127600c59 Update test images for overlapping text 2023-11-07 08:03:22 -08:00
ZachNagengast
fdecfca9f4 Update gray glyph blending logic and tests 2023-11-06 21:11:28 -08:00
Andrew Murray
7c2b681183 Handle disposing background from outside palette 2023-11-02 16:05:13 +11:00
REDxEYE
2f7caad37f
Merge pull request #9 from radarhere/test_open
Removed test_open
2023-10-30 14:49:47 +03:00
Andrew Murray
c7fbfdc795 Removed test_open 2023-10-30 22:44:52 +11:00
Andrew Murray
ddcbfde446 Test BC4U 2023-10-30 22:22:37 +11:00
Andrew Murray
ee8c9c3522 Removed unused test images 2023-10-30 22:16:39 +11:00
Andrew Murray
e3ff5eb8e4 Test BC1_UNORM and BC1_TYPELESS 2023-10-30 19:53:51 +11:00
Andrew Murray
17be898fc4 Added tests for unimplemented bitcount 2023-10-28 16:58:57 +11:00
Andrew Murray
e10a58ccce Concatenate multiple EXIF markers 2023-10-26 21:46:38 +11:00
Andrew Murray
85485229e3 Support RGB bitcount 8 2023-10-25 16:24:00 +11:00
Andrew Murray
93e0f39ff3 Removed "mode-" prefix from image names that are not modes 2023-10-21 19:14:46 +11:00
Andrew Murray
a54d28a7bc Merge branch 'main' into improved_dds 2023-10-21 14:27:31 +11:00
Andrew Murray
5056850a2f Seek past the data when skipping a layer 2023-10-20 16:09:13 +11:00
Andrew Murray
d682c18ded Use "gray" more consistently 2023-10-19 19:12:01 +11:00
Andrew Murray
0da7ad7c48 Merge branch 'main' into load_default 2023-10-14 10:33:50 +11:00
REDxEYE
6dd565b4a3 Merge remote-tracking branch 'pillow/main' into improved_dds
# Conflicts:
#	Tests/test_file_dds.py
#	src/PIL/DdsImagePlugin.py
2023-10-12 19:15:06 +03:00
REDxEYE
a5dde8b1c4 Apply suggestion for PR 2023-10-12 19:09:28 +03:00
Andrew Murray
7319d86328 Catch struct.error from truncated EXIF when reading DPI 2023-10-12 10:13:46 +11:00
Andrew Murray
f24222a954 Merge branch 'main' into jpeg_xmp 2023-10-06 17:23:53 +11:00
Hugo van Kemenade
6f73691564
Merge pull request #7257 from radarhere/i16_point 2023-10-05 12:54:25 -06:00
Hugo van Kemenade
09605ff48e
Merge pull request #7413 from radarhere/bc5s 2023-10-05 09:48:12 -06:00
Andrew Murray
43e6826199
Merge pull request #7382 from nopperl/parse-eps-trailer
Read bounding box information from the trailer of EPS files if specified
2023-10-02 09:53:35 +11:00
Hugo van Kemenade
c2f7ea59b9
Merge pull request #7426 from radarhere/dds_palette 2023-09-30 14:40:17 -06:00
Andrew Murray
cd4adb1677 Added reading 8-bit color images 2023-09-27 19:41:45 +10:00
Hugo van Kemenade
132357ac46 Add check-executables-have-shebangs to pre-commit and remove executable flags 2023-09-25 16:45:38 +03:00
Andrew Murray
d919942f8e Last trailer comment has priority 2023-09-22 18:36:52 +10:00
Andrew Murray
094f23dd5c EOF ends not just the trailer, but also the file 2023-09-22 18:26:41 +10:00
Andrew Murray
4c9c7636be Merge branch 'main' into parse-eps-trailer 2023-09-22 16:16:26 +10:00
Andrew Murray
352bcaac74 Set blue channel to 128 for BC5S 2023-09-21 16:38:45 +10:00
Andrew Murray
96e3534034 Corrected converting signed values to unsigned in BC5S 2023-09-16 13:53:10 +10:00
nopperl
12d8b439d5 Read bounding box information from the trailer of EPS files if specified 2023-09-07 20:20:35 +02:00
Andrew Murray
2b9217bba8 Added BC5U reading 2023-08-31 12:13:35 +10:00
Andrew Murray
b1f5ee9043 Added font_size keyword arguments to ImageDraw text methods 2023-08-26 17:01:15 +10:00
Andrew Murray
eccef36948 Added size argument to load_default() 2023-08-26 17:01:01 +10:00
Andrew Murray
1e5aa21fa8 Added improved font to load_default() if FreeType is available 2023-08-26 17:00:34 +10:00
Andrew Murray
3f78ba80f9 Do not require curly bracket in tag name 2023-07-10 22:05:28 +10:00
Andrew Murray
2488167f33 Allow for zero-byte padding at end of XMP data 2023-07-10 22:00:30 +10:00
Andrew Murray
5e2332a200 Corrected drawing I;16 points 2023-07-05 08:49:56 +10:00
Andrew Murray
8437d98f7f Limit size even if one dimension is zero 2023-06-28 11:43:05 +10:00
Andrew Murray
bd4826591b Removed INVALID enum 2023-06-15 02:49:09 +03:00
REDxEYE
34760736a5 Add missing LA test textures 2023-06-15 02:42:43 +03:00
REDxEYE
de8b89c823 Add support for writing LA dds textures 2023-06-15 02:42:41 +03:00
Andrew Murray
8bbd4ada9b Merge branch 'main' into exif_transpose 2023-06-14 09:57:25 +10:00
Andrew Murray
c68c508e27 Fixed joined corners for odd dimensions 2023-05-10 13:25:35 +10:00
Andrew Murray
a4986ba986 Support reading signed 8-bit TIFF images 2023-05-04 07:54:30 +10:00
Hugo van Kemenade
9636a2aaf1
Merge pull request #7132 from radarhere/regular_polygon_width 2023-05-03 18:21:25 +03:00
Hugo van Kemenade
74a851965c
Merge pull request #7108 from radarhere/filter 2023-05-03 18:18:53 +03:00
Andrew Murray
3fc446c277 Added width argument to regular_polygon 2023-05-03 22:54:18 +10:00
Andrew Murray
d0b41da094 Support I mode for BuiltinFilter 2023-04-22 21:22:01 +10:00
Andrew Murray
d2256338b8 Use later value for duplicate xref entries 2023-04-20 23:15:20 +10:00
Andrew Murray
8d3014b8bf Added inPlace argument to exif_transpose() 2023-04-15 21:03:59 +10:00
Hugo van Kemenade
745f540f0e
Merge pull request #7018 from radarhere/apng 2023-03-23 14:56:47 +02:00
Hugo van Kemenade
31e8e012bb
Merge pull request #6909 from radarhere/jp2_comment 2023-03-22 23:54:55 +02:00
Andrew Murray
0966293a0d Consider transparency when applying blend mask 2023-03-16 20:05:56 +11:00
Andrew Murray
cbde5b2626 Added reading of JPEG2000 comments 2023-03-09 13:36:22 +11:00
Andrew Murray
2d01875e7c Added QOI reading 2023-03-09 13:34:44 +11:00
Andrew Murray
b84c29a035 Raise an error if co-ordinates are incorrectly ordered 2023-03-01 11:22:35 +11:00
Andrew Murray
0f2a4c1ae5 Added "corners" argument to rounded_rectangle() 2023-02-16 19:19:17 +11:00
Andrew Murray
dcf3d0bee2 Added support for uncompressed LA images 2022-12-23 19:07:45 +11:00
REDxEYE
582b631001 Add missing LA test textures 2022-12-23 18:01:45 +11:00
Andrew Murray
9e6a7d9740 Added support for uncompressed L images 2022-12-23 17:43:18 +11:00
Andrew Murray
5257d561c0
Merge pull request #6748 from radarhere/exif_ifd
Added IFD enum to ExifTags
2022-12-14 07:33:14 +11:00
Andrew Murray
c2a42655e1 Allow get_child_images to access JPEG thumbnails 2022-12-06 19:30:53 +11:00
Andrew Murray
72ac7d1ce9 Corrected default combined frame duration 2022-12-05 18:53:28 +11:00
Andrew Murray
5471dc2b26 Use fractional coordinates when drawing text 2022-11-08 11:49:39 +11:00
Eric Soroos
13f2c5ae14 Prevent DOS with large SAMPLESPERPIXEL in Tiff IFD
A large value in the SAMPLESPERPIXEL tag could lead to a memory and
runtime DOS in TiffImagePlugin.py when setting up the context for
image decoding.
2022-10-29 12:06:18 +03:00
Hugo van Kemenade
31f66ea963
Merge pull request #6445 from radarhere/set_variation_by_name 2022-10-28 13:21:30 +03:00
Hugo van Kemenade
d0ad0a0d3d
Merge pull request #6562 from nulano/winbuild-update 2022-10-27 14:10:16 +03:00
Andrew Murray
f7363c1091 Decode JPEG compressed BLP1 data in original mode 2022-10-23 15:54:55 +11:00
Andrew Murray
3b5f6e884f
Merge branch 'main' into winbuild-update 2022-10-20 18:23:01 +11:00
Andrew Murray
147c52f92f
Merge branch 'main' into winbuild-update 2022-10-14 12:20:34 +11:00
Andrew Murray
5f8938cb8e
Merge branch 'main' into gif 2022-10-12 22:01:35 +11:00
Hugo van Kemenade
baaf65453a
Merge pull request #6623 from radarhere/imt 2022-10-12 12:52:22 +02:00
Hugo van Kemenade
a275541640
Merge pull request #6626 from radarhere/fli 2022-10-12 12:49:54 +02:00
Hugo van Kemenade
eb59cb61d5
Merge pull request #6517 from radarhere/multiline_centered_embedded_color
Round box position to integer when pasting embedded color
2022-10-11 16:49:13 +02:00
Andrew Murray
7242a8a9ff
Merge branch 'main' into winbuild-update 2022-10-11 16:32:22 +11:00
Andrew Murray
28878c68e1
Merge pull request #6449 from ShadelessFox/main
Added DDS BC6 reading
2022-10-11 12:58:24 +11:00
Andrew Murray
78d258f24d Removed gamma correction 2022-10-10 20:48:18 +11:00
Andrew Murray
5911b8c30b Updated BC6H test images 2022-10-08 21:20:31 +11:00
Andrew Murray
e6ffbfd8df If palette is present but not needed, do not use global palette 2022-10-06 08:46:31 +11:00
Andrew Murray
ea3b66d8ef Allow palette chunk to not be first 2022-09-29 21:29:16 +10:00
Andrew Murray
d402fe0b17 Added IMT tests 2022-09-29 08:22:01 +10:00
Andrew Murray
17b56b9463 Merge branch 'main' into set_variation_by_name 2022-09-17 00:01:05 +10:00
Andrew Murray
166654d985 Merge branch 'main' into multiline_centered_embedded_color 2022-09-16 23:57:27 +10:00
Andrew Murray
ae6520ccd6 Fixed pasting an L frame onto an RGB(A) GIF 2022-09-14 00:05:23 +10:00
Andrew Murray
beb7b4d0f6 Added reading of TIFF child images 2022-09-10 22:50:54 +10:00
nulano
2f95e49b36 add test using woff2 font with freetype 2022-09-07 20:25:59 +02:00
nulano
ffedfe034a
test libtiff with webp compression 2022-09-05 12:41:59 +02:00
nulano
9699a0e1d6
test libtiff with lzma 2022-09-05 10:13:52 +02:00
Hugo van Kemenade
b607e834a9
Merge pull request #6510 from radarhere/buffer 2022-08-31 13:50:35 +03:00
Ondrej Baranovič
18bd77bbc0
simplify code, make test more generic 2022-08-25 19:45:33 +10:00
Andrew Murray
54b01f55f8 Round box position to integer when pasting embedded color 2022-08-22 12:14:54 +10:00
Andrew Murray
c463ef4fe3 Fallback to not using mmap if buffer is not large enough 2022-08-17 21:13:09 +10:00
Andrew Murray
7e1a0ca544 Open 1 bit EPS in mode 1 2022-08-13 18:32:29 +10:00