Commit Graph

268 Commits

Author SHA1 Message Date
Kylian Ronfleux--Corail
be2b4e7864
Fix qtables and quality scaling (#8879)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-06-30 20:46:40 +10:00
Hugo van Kemenade
958c449b98
Close image after assert
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-06-27 16:17:20 +03:00
Andrew Murray
092e37a56c
Merge branch 'main' into bump-pre-commit 2025-06-27 11:04:44 +10:00
Hugo van Kemenade
a27731b2af
Improve type hints (#8883) 2025-06-26 18:49:39 +03:00
Hugo van Kemenade
d1894dcd46 Add match parameter to pytest.warns() 2025-06-26 18:12:36 +03:00
Andrew Murray
a4e8d675b4 Only check DHT marker for libjpeg-turbo 2025-06-18 21:59:31 +10:00
Andrew Murray
04c984f2f2 Removed duplicate code 2025-06-07 11:29:11 +10:00
Andrew Murray
cba096b4a9 Assert pixel data is tuple 2025-06-07 11:13:12 +10:00
renovate[bot]
f3b05d6fab
Update dependency mypy to v1.16.0 (#8991)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-06-07 11:07:21 +10:00
Andrew Murray
5a04b9581b
Run slow tests on valgrind, but without timeout (#8975) 2025-05-28 08:20:35 +10:00
Andrew Murray
14fb62e36c
Assert image type (#8619) 2025-03-30 10:42:46 +03:00
Andrew Murray
6cc5f1f0ad Simplified code 2025-03-19 20:58:40 +11:00
Andrew Murray
00790e925d
Updated comment 2025-02-04 06:49:46 +11:00
pre-commit-ci[bot]
955d678ca2 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-03 17:36:01 +00:00
Andrew Murray
e19a1496c2
Use monkeypatch (#8707)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-01-27 12:17:51 +02:00
Hugo van Kemenade
e8040a7a0f
Merge pull request #8666 from radarhere/imagefile_tile 2025-01-08 19:09:33 +02:00
Hugo van Kemenade
5654c863bf
Merge pull request #8639 from radarhere/jfif_dpi 2025-01-08 18:45:09 +02:00
Hugo van Kemenade
6bce9aa461
Merge pull request #8645 from radarhere/mozjpeg 2025-01-08 18:44:21 +02:00
Andrew Murray
aef6df2d04 Use ImageFile._Tile 2025-01-07 21:51:23 +11:00
Andrew Murray
d12e78badf
Removed exif_transpose return type checks 2025-01-03 01:00:19 +01:00
Andrew Murray
8d78cfcc5a Added return types 2025-01-01 09:10:16 +11:00
Andrew Murray
ae59b03956 Do not use MozJPEG progressive default 2024-12-31 21:44:57 +11:00
Andrew Murray
8945875c6c Populate DPI from JFIF cm density 2024-12-28 21:28:44 +11:00
Andrew Murray
0ca832cfa5
Merge branch 'main' into xmp 2024-12-17 18:43:00 +11:00
Andrew Murray
80cf74030d
Removed fixture
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-10-29 23:13:01 +11:00
Andrew Murray
624848ff97 Do not repeatedly save to the same path 2024-10-29 22:21:53 +11:00
Andrew Murray
413bbb31c9 Fixed catching warnings 2024-10-26 16:15:46 +11:00
Andrew Murray
98f975dbbe Do not save XMP from info 2024-10-18 18:56:23 +11:00
Andrew Murray
06c331af5d Added type hints to frombuffer 2024-09-06 15:16:59 +10:00
Hugo van Kemenade
95c867dabf
Merge pull request #8286 from radarhere/xmp 2024-09-04 14:50:15 +03:00
Andrew Murray
be34a7da4b Save xmp from info 2024-09-04 19:20:56 +10:00
Hugo van Kemenade
5747267eb3 Fix PT018: Assert only one thing 2024-08-17 11:46:15 +03:00
Andrew Murray
d49884e40c Raise ValueError is XMP data is too long 2024-08-05 21:48:36 +10:00
Andrew Murray
2722cfd72b Added writing XMP bytes to JPEG 2024-08-05 20:20:24 +10:00
Andrew Murray
e6fd8359d3 Deprecate huffman_ac and huffman_dc 2024-08-01 12:27:45 +10:00
Andrew Murray
accfaf1c09 Added type hints 2024-07-30 20:20:09 +10:00
Hugo van Kemenade
72a243c498
Revert "Corrected exiv2.org links" 2024-07-24 11:44:44 -06:00
Andrew Murray
70b3815a37
Merge pull request #8127 from radarhere/multiple_exif_markers
Fixed processing multiple JPEG EXIF markers
2024-06-28 18:50:19 +10:00
Andrew Murray
cc83cc8ec8 Updated type hints 2024-06-22 10:09:11 +10:00
Andrew Murray
7ab3aee7bc
Merge branch 'main' into xmp 2024-06-19 09:06:10 +10:00
Andrew Murray
291ee35204 Added type hints 2024-06-18 23:03:03 +10:00
Andrew Murray
b84c970fbf Wait until all markers are read to process EXIF 2024-06-10 19:19:06 +10:00
Andrew Murray
1a14957c19 Added type hints 2024-06-09 15:16:17 +10:00
Andrew Murray
923d4e5e1a Added type hints 2024-06-05 22:27:23 +10:00
Andrew Murray
eba2694498
Merge branch 'main' into xmp 2024-06-05 15:53:46 +10:00
Andrew Murray
66ab7e0de2 Added type hints 2024-06-01 21:31:53 +10:00
Andrew Murray
e68cec640a Added type hints 2024-05-30 12:00:50 +10:00
Andrew Murray
0f1a0fc501 Improved consistency of XMP handling 2024-05-20 23:11:50 +10:00
Hugo van Kemenade
a6c7a04c00
Merge pull request #7856 from radarhere/docs
Corrected exiv2.org links
2024-03-30 22:19:57 +02:00
Hugo van Kemenade
3cdd49f31f
Merge pull request #7801 from radarhere/codecs 2024-03-11 17:38:12 +02:00