Andrew Murray
5761b4485c
Merge branch 'main' into libavif-plugin
2025-02-15 09:34:52 +11:00
Hugo van Kemenade
ede46d47fc
Merge pull request #8745 from radarhere/zlibng
2025-02-14 23:59:06 +02:00
Hugo van Kemenade
9b2ea830e0
Merge pull request #8744 from radarhere/imagequant
2025-02-14 23:54:19 +02:00
Hugo van Kemenade
ad231352a8
Merge pull request #8747 from radarhere/monkeypatch
...
Use monkeypatch
2025-02-13 20:03:00 +02:00
Andrew Murray
0590f08f42
Handle avifDecoderCreate and avifEncoderCreate errors ( #21 )
...
* Simplify Python code by receiving tuple from C, as per #8740
* Use default PyTypeObject value
* Removed AVIF_TRUE
* Width and height are already set on first frame
* Removed memset
* Depth is set by avifRGBImageSetDefaults
* Replace PyObject with int
* After a failed pixel allocation, destroy non-first frame
* Added error if avifImageCreateEmpty returns NULL
* Python images cannot have negative dimensions
* Test invalid canvas dimensions
* Use boolean format argument
* Handle avifDecoderCreate and avifEncoderCreate errors
* tileRowsLog2 and tileColsLog2 are ignored if autotiling is enabled
* Only define _add_codec_specific_options if it may be used
* Test non-string advanced value
* Simplified error handling in AvifEncoderNew
* Corrected heading
---------
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-02-12 15:35:03 -05:00
Andrew Murray
8020d423bc
Use monkeypatch
2025-02-12 18:36:14 +11:00
Andrew Murray
45d8d80567
Updated zlib-ng to 2.2.4
2025-02-11 11:36:55 +11:00
Andrew Murray
c566a81c64
Updated libimagequant to 4.3.4
2025-02-10 21:47:37 +11:00
Hugo van Kemenade
3c2310e090
Merge pull request #8739 from radarhere/boolean
2025-02-09 16:05:54 +02:00
Hugo van Kemenade
c81f2f5014
Merge pull request #8740 from radarhere/tuple
2025-02-09 16:05:29 +02:00
Andrew Murray
e1509ee88b
Removed memset and ignoreAlpha ( #20 )
2025-02-08 19:48:25 -05:00
Andrew Murray
b59dea60a6
Simplify Python code by receiving tuple from C
2025-02-08 21:07:25 +11:00
Andrew Murray
166d0b94d9
Use boolean format argument for irreversible
2025-02-08 21:00:54 +11:00
Andrew Murray
7de1212c18
Merge branch 'main' into libavif-plugin
2025-02-07 11:27:43 +11:00
Hugo van Kemenade
b57b4e5f2c
Merge pull request #8735 from radarhere/affine
2025-02-06 13:26:24 +02:00
Hugo van Kemenade
a788ab31ca
Merge pull request #8734 from radarhere/module
2025-02-06 13:25:54 +02:00
Hugo van Kemenade
f55a0900f4
Merge pull request #8724 from radarhere/mingw_libimagequant
2025-02-06 13:25:03 +02:00
Hugo van Kemenade
c73796dc1e
Merge pull request #8733 from radarhere/tuple
2025-02-06 13:19:29 +02:00
Hugo van Kemenade
dd2bb392e6
Merge pull request #8732 from radarhere/unused_parse
2025-02-06 13:18:34 +02:00
Hugo van Kemenade
a7524a34b2
Merge pull request #8727 from radarhere/getpixel
2025-02-06 13:17:26 +02:00
Andrew Murray
41861e8e9f
Updated AffineTransform docstring to mention it uses the inverse matrix
2025-02-06 19:26:49 +11:00
Andrew Murray
7924b6a11f
Use member names to initialize modules
2025-02-05 20:20:57 +11:00
Andrew Murray
a37702dd8a
Removed unused format character
2025-02-05 19:12:54 +11:00
Andrew Murray
b19506a499
Simplify Python code by passing tuples to C
2025-02-05 19:12:50 +11:00
Andrew Murray
a7d7a1080e
Removed redundant argument parsing
2025-02-05 18:42:35 +11:00
Andrew Murray
2810d7c6ba
Merge pull request #8721 from radarhere/justify
...
Added "justify" align for multiline text
2025-02-04 20:10:39 +11:00
Andrew Murray
92eb11eb09
Merge pull request #8729 from python-pillow/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2025-02-04 07:19:15 +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
pre-commit-ci[bot]
90d2506074
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.9.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.6...v0.9.4 )
- [github.com/psf/black-pre-commit-mirror: 24.10.0 → 25.1.0](https://github.com/psf/black-pre-commit-mirror/compare/24.10.0...25.1.0 )
- [github.com/PyCQA/bandit: 1.8.0 → 1.8.2](https://github.com/PyCQA/bandit/compare/1.8.0...1.8.2 )
- [github.com/pre-commit/mirrors-clang-format: v19.1.6 → v19.1.7](https://github.com/pre-commit/mirrors-clang-format/compare/v19.1.6...v19.1.7 )
- [github.com/python-jsonschema/check-jsonschema: 0.30.0 → 0.31.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.30.0...0.31.1 )
- [github.com/woodruffw/zizmor-pre-commit: v1.0.0 → v1.3.0](https://github.com/woodruffw/zizmor-pre-commit/compare/v1.0.0...v1.3.0 )
- [github.com/tox-dev/tox-ini-fmt: 1.4.1 → 1.5.0](https://github.com/tox-dev/tox-ini-fmt/compare/1.4.1...1.5.0 )
2025-02-03 17:35:25 +00:00
Andrew Murray
ce1996d804
Use getpixel() instead of load()
2025-02-03 19:32:59 +11:00
Andrew Murray
4508f37b91
Use aom LICENSE instead of PATENTS ( #19 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-02-02 20:03:30 -05:00
Andrew Murray
19ba2dd6d7
Use rgb.rowBytes in overflow check ( #18 )
...
* Removed skip_unless_feature on methods when class is already skipped
* Test speed less than slowest and greater than fastest
* Updated type hints
* Only access angle when AVIF_TRANSFORM_IROT flag is present
* Added AVIF_ROOT
* Only define normalize_quantize_value if it will be used
* Build libavif after libjpeg
* Use rgb.rowBytes in overflow check
* Group EXIF info
* Removed __loaded
* If brew is not installed, use /usr prefix
* Sort AVIF codecs alphabetically
* Updated rav1e license
* Fixed catching warning, as per #8505
* Simplified code
* Fixed typos
* Test further scenarios
* Use y* to parse bytes
---------
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-02-02 20:03:13 -05:00
Andrew Murray
6cbad27c27
Merge branch 'main' into libavif-plugin
2025-02-01 21:29:00 +11:00
Hugo van Kemenade
4d1f874096
Merge pull request #8725 from radarhere/macos
2025-02-01 12:23:49 +02:00
Andrew Murray
347a3865bf
Revert "Ignore brew dependencies for libraqm on macOS 13"
...
This reverts commit dfd53564ff
.
2025-02-01 12:21:15 +11:00
Andrew Murray
69c9572517
Added ImageDraw link
2025-02-01 10:54:18 +11:00
Andrew Murray
fca48db866
Added quote marks
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-02-01 10:02:42 +11:00
Hugo van Kemenade
c5d27af0f1
Merge pull request #8723 from radarhere/tiff_iimm
2025-01-31 17:53:06 +02:00
Andrew Murray
5bbbc46240
Fixed exceptions when closing AppendingTiffWriter
2025-02-01 01:13:30 +11:00
Andrew Murray
ec72d20d23
Added release notes
2025-02-01 00:47:21 +11:00
Andrew Murray
9a58456c9b
Added versionadded for justify
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-02-01 00:44:26 +11:00
Hugo van Kemenade
793e1fcba2
Merge pull request #8709 from radarhere/seek
2025-01-31 14:11:07 +02:00
Hugo van Kemenade
b03f143df1
Merge pull request #8701 from radarhere/stroke_outside
2025-01-31 13:35:22 +02:00
Hugo van Kemenade
84adbe5da8
Support saving PNG cICP chunk ( #8704 )
2025-01-31 13:24:08 +02:00
Andrew Murray
1e115987af
Do not install libimagequant
2025-01-31 19:09:03 +11:00
Andrew Murray
e4f2a4a291
Merge pull request #8717 from radarhere/none
...
Use Py_RETURN_NONE macro when possible
2025-01-30 22:27:42 +11:00
Andrew Murray
10eaff8ac7
Added "justify" align for multiline text
2025-01-29 20:12:45 +11:00
Andrew Murray
7093de46a7
Moved common multiline code into _prepare_multiline_text
2025-01-29 19:42:25 +11:00
Andrew Murray
9a4f39588d
Use embedded color for text length in multiline_text
2025-01-29 18:58:53 +11:00