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
Andrew Murray
e77a7b6b4f
Added support for RGBA PSD images
2022-08-05 23:29:58 +10:00
Andrew Murray
c3cc621c67
Merge branch 'python-pillow-main'
2022-08-02 15:55:21 +10:00
mergify[bot]
363586be6a
Merge pull request #6463 from bigcat88/xmp-tags-orientation
...
Parse orientation from XMP tag contents
2022-07-30 02:02:50 +00:00
mergify[bot]
87a08e2381
Merge pull request #6457 from REDxEYE/ATI1-2_support
...
Add support for ATI1/2(BC4/BC5) DDS files
2022-07-27 12:30:52 +00:00
Andrew Murray
7e1261c6a0
Simplified test code
2022-07-27 22:18:39 +10:00
Alexander Piskun
db20d0f8fe
fixing typo in filetest name
2022-07-26 00:45:23 +03:00
Alexander Piskun
6e97da0260
fixing xmp tag orientation generated by exiftool
2022-07-26 00:30:32 +03:00
REDxEYE
1050d13350
Replace test files with images with compatible license
2022-07-23 12:44:03 +03:00
REDxEYE
2376399150
Add test and test files for ATI1 pixel format and fix image mode for ATI1
2022-07-23 01:02:06 +03:00
REDxEYE
ad2c6a20fe
Add support for ATI1/2(BC4/BC5) DDS files
...
This commit adds support for loading DDS with ATI1 and ATI2 fourcc pixel format
2022-07-23 00:30:27 +03:00
Andrew Murray
0844fb0ed3
Do not clear tile if not updating the image when seeking
2022-07-21 09:05:14 +10:00
Andrew Murray
0d0cf6374c
Restored unimplemented DXGI format test
2022-07-19 07:18:48 +10:00
ShadelessFox
fac18a5b60
Add BC6 tests
2022-07-18 22:24:41 +03:00
Andrew Murray
dea30e4c80
Fixed set_variation_by_name offset
2022-07-18 08:39:23 +10:00
Andrew Murray
9f6a315092
Added ABGR MASK_MODE
2022-07-14 07:25:28 +10:00
Andrew Murray
0d91d13a6e
Merge branch 'main' into deprecate-getsize
2022-06-30 20:37:37 +10:00
Andrew Murray
c9f1b35e98
Added GIF decompression bomb check
2022-06-30 12:47:35 +10:00
Hugo van Kemenade
6dd5b2e8c9
Merge pull request #6377 from btrekkie/fix-round-to-palette
...
Fixed bug with rounding pixels to palette
2022-06-22 12:31:25 +03:00
Andrew Murray
3e8a9b2165
Fixed loading L mode RLE8 images
2022-06-20 21:01:10 +10:00
nulano
e2158344a0
update test_imagefont to use textbbox
2022-06-20 01:20:56 +01:00
William Jacobs
9f9e26522e
Fixed bug with rounding pixels to palette
...
This fixes a bug with rounding pixels to the nearest palette color. Specifically, there is a typo with computing the minimum distance from a palette color to a given cache box. This is causing palette colors to be incorrectly excluded from consideration.
2022-06-18 04:09:41 -04:00
Andrew Murray
4d6e5a0d09
Limit tile size to avoid extending outside image
2022-06-16 08:36:43 +10:00
Andrew Murray
5051a29a4e
Merge branch 'main' into plainPPM
2022-06-12 16:11:17 +10:00
Hugo van Kemenade
f7ec22f518
Merge pull request #6197 from radarhere/endian
...
Fixed behaviour change from endian fix
2022-06-10 19:02:54 +03:00
Hugo van Kemenade
38931c1e47
Merge pull request #6278 from radarhere/polygon
...
Fixed drawing translucent 1px high polygons
2022-06-04 09:34:37 +03:00
Davide Consalvo
84da70988f
Merge branch 'python-pillow:main' into p2pa_images_conversion
2022-05-27 12:37:43 +02:00
Davide Consalvo
9a14be898c
added p2pa test
2022-05-27 12:34:05 +02:00
Hugo van Kemenade
0476914ee4
Merge pull request #6219 from radarhere/gif_eof
...
Do not update GIF frame position until local image is found
2022-05-27 08:29:38 +02:00
Andrew Murray
2457eafabd
Only read the number of loops from the first frame
2022-05-24 12:53:19 +10:00
Andrew Murray
62d0f0e38d
Once comment is loaded, keep it for subsequent frames
2022-05-22 15:30:16 +10:00
Andrew Murray
e9cb2156ec
Merge pull request #6294 from raygard/comments_separate_multiple
...
Separate multiple GIF comment blocks in a frame with newlines
2022-05-22 14:53:03 +10:00
Andrew Murray
f0353c5996
When reading past the end of a scan line, reduce bytes left
2022-05-17 11:53:24 +03:00
Ray Gardner
44c6467400
Multiple GIF comments in a frame are separated
...
If more than one comment is in a GIF frame, separate them with \r\n in the info dict.
2022-05-13 16:36:20 -06:00
Andrew Murray
3bce17175c
Replaced test image to fix xfail
2022-05-09 22:30:04 +10:00
Andrew Murray
c824ab048f
Fixed drawing translucent 1px high polygons
2022-05-06 22:35:26 +10:00
Hugo van Kemenade
779fb4975b
Merge pull request #6270 from radarhere/samples_per_pixel
...
Adjust BITSPERSAMPLE to match SAMPLESPERPIXEL
2022-05-05 14:22:19 +03:00
Andrew Murray
4e52d06e6c
Added test
2022-05-05 17:57:08 +10:00
Andrew Murray
886fcbe3d6
Do not open images with zero or negative height
2022-05-04 21:25:40 +10:00
Andrew Murray
c8118438ae
Do not update frame position until local image is found
2022-04-16 17:07:39 +10:00
Andrew Murray
950d0ad1d3
Fixed behaviour change from #5901 endian fix
2022-04-12 23:12:54 +10:00
Hugo van Kemenade
e60ca89721
Merge pull request #6150 from radarhere/gif
2022-03-30 23:23:59 +03:00
Hugo van Kemenade
f7169f9c93
Merge pull request #5980 from radarhere/polygon
2022-03-27 18:51:10 +03:00
Hugo van Kemenade
5ff4a137c7
Merge pull request #6147 from radarhere/webp
2022-03-26 19:51:32 +02:00
Hugo van Kemenade
8107098657
Merge pull request #6132 from radarhere/fillorder
2022-03-26 19:47:14 +02:00
Hugo van Kemenade
a921fcbf75
Merge pull request #6102 from radarhere/bmp_rle8
2022-03-23 17:00:31 +02:00
Andrew Murray
c5efe60c37
Reverted converting L with transparency to LA after first frame
2022-03-22 22:07:37 +11:00
Andrew Murray
7928e944cb
Keep subsequent L frames without transparency as L
2022-03-22 20:20:38 +11:00
Andrew Murray
b0d0d2b9cc
Fixed saving L mode GIF with background as WebP
2022-03-22 20:17:28 +11:00
Andrew Murray
ebdb47e693
Support reading I;16R TIFF images
2022-03-20 13:34:50 +11:00
Hugo van Kemenade
515957b2ac
Merge pull request #6097 from radarhere/bigtiff
2022-03-11 23:05:41 +02:00
Andrew Murray
11f1ba3540
Skip additional data if past end of row
2022-03-09 22:36:32 +11:00
Andrew Murray
0ace3fcd26
Added BMP RLE8 decoder
2022-03-09 22:35:48 +11:00
Piolie
c1744e8536
Add tests for plain PPM
2022-03-04 17:03:07 +11:00
Andrew Murray
5c6212052c
Convert subsequent frames of L mode GIF to LA if transparency is present
2022-03-01 20:11:35 +11:00
Andrew Murray
fc7319318e
Added BigTIFF reading
2022-03-01 09:23:12 +11:00
Andrew Murray
0d729941a8
Handle packets that cross scan lines
2022-02-25 09:41:16 +11:00
mergify[bot]
c58d2817bc
Merge pull request #6056 from radarhere/fits
...
Added FITS reading
2022-02-20 21:49:01 +00:00
Hugo van Kemenade
3d33987d7c
Merge pull request #4685 from Meithal/patch-3
...
Correctly read JPEG compressed BLP images
2022-02-19 11:03:36 +02:00
Andrew Murray
7dca0135dd
Merge branch 'main' into fits
2022-02-19 14:41:45 +11:00
Andrew Murray
58509a48a8
Use existing image
2022-02-17 22:22:44 +11:00
Andrew Murray
d4ee19199c
Replaced test image to avoid copyrighted color space
2022-02-17 14:39:18 +11:00
Andrew Murray
dfdb17671d
Added FITS reading
2022-02-15 11:22:46 +11:00
Mikhail Iurkov
bb5a090f60
Drop excess values in BITSPERSAMPLE
2022-02-09 16:40:43 +03:00
Andrew Murray
b894c8c73d
Connected discontiguous polygon corners
2022-01-21 11:55:59 +11:00
Andrew Murray
acd33bf62a
Removed unused images
2022-01-18 09:10:36 +11:00
Andrew Murray
7370a0b1cf
Remove consecutive duplicates that only differ by their offset
2022-01-01 14:54:23 +11:00
Andrew Murray
ff723e45ab
Ensure that pixel data offset does not ignore palette
2021-12-21 12:43:50 +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
Hugo van Kemenade
c7a90551ae
Merge pull request #5829 from radarhere/tga_orientation
2021-11-21 14:14:41 +02: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
Andrew Murray
e6ffeac66f
Updated image comparison
2021-10-19 16:08:23 +11:00
nulano
19f4c6fd23
don't use bitmap glyphs when drawing text with stroker
2021-10-14 08:19:04 +01:00
Andrew Murray
174b4893f3
Prefer global transparency for disposal method 2
2021-10-12 09:45:52 +11: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
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
Hugo van Kemenade
57c672efcc
Merge pull request #5654 from radarhere/ihdr
2021-08-24 15:08:23 +03: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
Andrew Murray
cbdc751628
Read AND mask from end
2021-08-10 07:04:36 +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
Andrew Murray
6596e31605
Determine mode purely from ihdr header box
2021-08-05 01:06:01 +10: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
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
a9372d5cf0
Fixed generated palettes
2021-07-29 16:20:20 +10:00
Alexander Karpinsky
3abe5e884b
Add TypeError handling to pass corrupted dpi value in exif
2021-07-26 16:13:01 +03:00
Andrew Murray
1d73a483f4
Added "transparency" argument to load()
2021-07-19 09:08:45 +10:00
Andrew Murray
a9fccfada1
Added WalImageFile class
2021-07-18 12:35:27 +10:00
Meithal
3fbc9eb229
self.mode = "BGRA" wasn't correct and captured by #affa059
2021-07-15 20:33:35 +02:00
Andrew Murray
a46f5cdd0a
PSD layer count may be negative
2021-07-15 19:38:26 +10:00
Andrew Murray
917a598615
Handle removing orientation from alternate types of EXIF data
2021-07-06 10:37:28 +10:00
Meithal
919f38e3d9
Try test
2021-07-05 00:20:15 +02:00
mergify[bot]
28330c2f9d
Merge pull request #5561 from radarhere/crash
...
Moved CVE image to pillow-depends
2021-06-29 07:07:14 +00:00
Hugo van Kemenade
78f150cb42
Merge pull request #5405 from radarhere/fits
...
Read FITS image mode and size
2021-06-28 17:57:49 +03:00
Hugo van Kemenade
f3db65db09
Merge pull request #5347 from radarhere/edge
2021-06-28 17:17:17 +03:00
Andrew Murray
2976c4efdc
Removed crash image
2021-06-28 23:27:52 +10:00
Glenn Maynard
432677740d
Add a test for an image that works with other GIF decoders.
...
This test is fixed by the next commits.
2021-06-26 00:48:10 +10:00
Andrew Murray
5b4cb5052a
Draw first frame on top of transparency
2021-06-25 21:54:21 +10:00
Hugo van Kemenade
ec74f3b1c0
Merge pull request #5367 from radarhere/quant
2021-06-20 21:57:05 +03:00