Commit Graph

13 Commits

Author SHA1 Message Date
Hugo van Kemenade
2825323e84 Release notes: add ImageColor and ImageMode optimisations, and type hints 2023-12-31 17:48:31 +02:00
Andrew Murray
2ec53e36e9 Apply ImageFont.MAX_STRING_LENGTH to ImageFont.getmask() 2023-12-31 23:17:28 +11:00
Andrew Murray
557ba59d13 Include further builtins 2023-12-30 09:30:12 +11:00
Benjamin Gilbert
e1fb1ab5c4 Deprecate raise_oserror() for removal in Pillow 12
It's only useful if the caller has an IMAGING_CODEC_* error code, which
are only produced by codec decode() methods and are automatically
translated by ImageFile.

Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2023-12-13 02:17:32 -06:00
Benjamin Gilbert
ec17dc11ba Translate encoder error codes to strings
When decoding, we use raise_oserror() to convert codec error codes to
strings.  Adapt that code to be used when encoding as well.  Add a new
helper function that returns the exception so we can still raise
`from exc`.
2023-12-12 23:13:51 -06:00
Andrew Murray
9e5173846e
Updated wording
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-12-08 21:04:15 +11:00
Andrew Murray
c45b7590ad Added release notes for #7488 2023-12-08 19:20:48 +11:00
Andrew Murray
5c560ca1a9 Added release notes for #7491 2023-12-08 19:20:43 +11:00
Andrew Murray
43a4477cd9 Added release notes for #7584 and #7587 2023-12-08 19:20:37 +11:00
Andrew Murray
afae56829a Added release notes for #7599 and #7593 2023-12-07 20:54:30 +11:00
Andrew Murray
d1a2235413
Added tilde prefix
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-12-06 21:23:26 +11:00
Andrew Murray
00c6a89177 Link to plugin 2023-12-06 11:10:20 +11:00
Andrew Murray
66c5e9ae98 Added release notes 2023-12-05 19:31:33 +11:00