Commit Graph

2673 Commits

Author SHA1 Message Date
Nulano
bb855583ea Update PyPI links to use pillow (lowercase) 2024-01-08 02:28:48 +01:00
Nulano
edc46e223b document ImageCms deprecations 2024-01-08 01:27:41 +01:00
Andrew Murray
ba6399cad1 Added PerspectiveTransform 2024-01-07 19:34:27 +11:00
Hugo van Kemenade
fcaed26ab1
Merge pull request #7676 from nulano/lcms2-flags 2024-01-06 16:43:20 +02:00
Nulano
0d841aab9a add support for grayscale pfm image format 2024-01-06 14:08:51 +01:00
Andrew Murray
c46cf19a58
Merge pull request #7684 from nulano/docs-imagetransform
Improve ImageTransform documentation
2024-01-06 06:45:19 +11:00
Hugo van Kemenade
85c552934a Goodbye Travis CI 2024-01-04 12:51:05 +02:00
Hugo van Kemenade
27eacddfd5
Merge pull request #7688 from radarhere/macos_imagegrab 2024-01-03 16:27:51 +02:00
Andrew Murray
424737ef49 Updated macOS tested Pillow versions 2024-01-03 11:18:16 +11:00
Andrew Murray
d134110ace If bbox is omitted, screenshot is taken at 2x on Retina screens 2024-01-03 09:01:35 +11:00
Andrew Murray
e6c9b42dc2
Merge pull request #7685 from nulano/win-arm-tested
Update Windows 11 tested versions
2024-01-03 08:38:05 +11:00
Nulano
b4a8271288 update Windows 11 tested versions 2024-01-02 17:26:11 +01:00
Nulano
b4e690049d document config setting "-C parallel=n" for number of CPUs to use for compilation 2024-01-02 15:37:32 +01:00
Nulano
fc7088a561 improve ImageTransform documentation 2024-01-02 14:52:12 +01:00
Ondrej Baranovič
81ea98e494
document ImageCmsTransform's base class
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-01-02 14:10:07 +01:00
Andrew Murray
ec6a57f69d Updated description
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2024-01-02 21:27:12 +11:00
Andrew Murray
fd14824649 bbox on macOS is not 2x on retina screens 2024-01-02 19:15:13 +11:00
Nulano
0b2e2b224f document ImageCms.Flags 2024-01-01 21:40:41 +01:00
Nulano
26b2aa5165 document ImageCms.{ImageCmsProfile,Intent,Direction}; fix ImageCms.core.CmsProfile references
(cherry picked from commit f2b1bbcf65b327c14646d4113302e3df59555110)
2024-01-01 21:40:41 +01:00
Nulano
de62b25ed3 fix image url in "Reading from URL" example 2024-01-01 18:06:46 +01:00
Andrew Murray
d93a5ad70b
Merge pull request #7553 from bgilbert/jpeg-rgb
Add `keep_rgb` option when saving JPEG to prevent conversion of RGB colorspace
2024-01-01 23:55:37 +11:00
Andrew Murray
24e9485e6b
Merge pull request #7671 from radarhere/imagetransform
Added type hints to ImageTransform
2024-01-01 21:45:56 +11:00
Andrew Murray
57096f55cf
Merge pull request #7642 from nulano/types-util
Add type hints to _util
2024-01-01 21:27:57 +11:00
Andrew Murray
59100652b6 Added type hints to ImageTransform 2024-01-01 20:33:34 +11:00
Andrew Murray
ea4fde8443
Merge branch 'main' into update-release-notes 2024-01-01 19:05:13 +11:00
Hugo van Kemenade
c7a1ce16ad
Merge pull request #7670 from radarhere/releasenotes
Added release notes for #7589 and #7654
2024-01-01 10:04:12 +02:00
Andrew Murray
ca94dae26b
Merge branch 'main' into update-release-notes 2024-01-01 19:03:59 +11:00
Hugo van Kemenade
c08426b834
Apply suggestions from code review
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-01-01 10:02:22 +02:00
Hugo van Kemenade
681f8183f3
Remove member-order
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-01-01 10:01:42 +02:00
Andrew Murray
f6aa00dd1e Added release notes for #7654 2024-01-01 17:00:50 +11:00
Andrew Murray
1c183827e4 Added release notes for #7589 2024-01-01 16:47:37 +11:00
Andrew Murray
8676cbd4e7 Do not try and crop glyphs from outside of source ImageFont image 2024-01-01 16:13:24 +11:00
Andrew Murray
9bcd477058 Use consistent language 2024-01-01 14:19:16 +11:00
Hugo van Kemenade
129a4936d3
Update docs/releasenotes/10.2.0.rst
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2023-12-31 09:53:59 -07:00
Hugo van Kemenade
2825323e84 Release notes: add ImageColor and ImageMode optimisations, and type hints 2023-12-31 17:48:31 +02:00
Nulano
aa605bc6f2 document IptcImagePlugin deprecations 2023-12-31 17:41:13 +02:00
Hugo van Kemenade
f9e3d073b3
Merge pull request #7663 from radarhere/copyright 2023-12-31 17:23:22 +02:00
Andrew Murray
2ec53e36e9 Apply ImageFont.MAX_STRING_LENGTH to ImageFont.getmask() 2023-12-31 23:17:28 +11:00
Andrew Murray
ee6e12a803 Updated copyright year 2023-12-31 18:37:16 +11:00
Andrew Murray
557ba59d13 Include further builtins 2023-12-30 09:30:12 +11:00
Ondrej Baranovič
de381d0efb
Update docs/reference/internal_modules.rst
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-12-27 16:17:51 +01:00
Nulano
3a4298d16c avoid hard dependency on typing_extensions 2023-12-27 14:55:30 +01:00
Andrew Murray
ca9b49f8dd
Merge pull request #7636 from bgilbert/jp2-docs
Document JPEG 2000 support for writing YCbCr and reading subsampled color
2023-12-27 21:59:39 +11:00
Benjamin Gilbert
a72b5963d7 Document JPEG 2000 support for writing YCbCr and reading subsampled color
Read support for subsampled RGB and YCbCr color channels was added in
4f4c3b34f8 and not documented at the time.  Write support for YCbCr
appears to date to 61fb89ec54, the original commit.

Retain the existing language about YCbCr input conversion to RGB, even
though it's not completely correct.  OpenJPEG through 2.5.0 doesn't set
color_space in opj_read_header(), so we end up in our
OPJ_CLRSPC_UNSPECIFIED fallback path, which guesses sRGB if there's no
component subsampling.  This means we currently can't round-trip YCbCr via
JPEG 2000.  The next OpenJPEG release will fix this, so leave the docs as
is.

Also fix typo: .j2p -> .jp2.
2023-12-26 12:52:27 -06:00
Benjamin Gilbert
e2018a6697 Add release note for JPEG keep_rgb option
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2023-12-26 12:37:44 -06:00
Benjamin Gilbert
a5fab5fc0b Fail if chroma subsampling selected when writing RGB JPEG
The user presumably doesn't intend to subsample the green and blue
channels.
2023-12-26 12:37:35 -06:00
Andrew Murray
bc5ec2268a Added type hints 2023-12-26 22:26:11 +11:00
Hugo van Kemenade
43b2f61e79 Add 'from __future__ import annotations' using Ruff/isort 2023-12-21 13:13:31 +02:00
Hugo van Kemenade
18907b5f7e
Merge pull request #7568 from radarhere/gif_transparency 2023-12-21 12:58:07 +02:00
Benjamin Gilbert
4b422db243 Add keep_rgb option to prevent RGB -> YCbCr conversion during JPEG write
libjpeg automatically converts RGB to YCbCr by default.  Add a keep_rgb
option to disable libjpeg's automatic conversion of RGB images during
write.
2023-12-13 18:26:35 -06:00
Andrew Murray
45e44085c0
Merge pull request #7609 from bgilbert/encoder-errors
Translate encoder error codes to strings; deprecate `ImageFile.raise_oserror()`
2023-12-13 20:45:47 +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
4c7eeec4fc
Merge pull request #7600 from nulano/anchor-clarify-docs
Clarify default anchor alignment
2023-12-13 07:36:00 +11:00
Nulano
af2d976880 clarify default anchor alignment 2023-12-12 17:22:19 +01: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
Hugo van Kemenade
7cc0482804
Merge pull request #6486 from REDxEYE/improved_dds 2023-12-06 22:51:05 +02: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
e43dd6610d
Merge pull request #7578 from radarhere/font
Handle pathlib.Path in FreeTypeFont
2023-12-06 12:09:16 +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
Benjamin Gilbert
dafaa1c512 Document JPEG streamtype option
streamtype=1 is new in 10.2.0; the other values have existed since Git
pre-history.
2023-12-04 06:58:37 -06:00
Andrew Murray
9a6c47a9d2 Merge branch 'main' into font 2023-12-04 22:25:58 +11:00
Andrew Murray
2b734a33c7 Updated lcms2 to 2.16 2023-12-04 08:32:39 +11:00
Andrew Murray
bd7874a6f1 Update Windows wheels info 2023-12-01 12:01:34 +11:00
Nulano
984700b1f7 fix documentation link to PIL.ImageFont.Layout 2023-11-30 23:58:47 +01:00
Andrew Murray
40976799c6 Use html_css_files instead of setup() 2023-11-28 20:04:41 +11:00
Andrew Murray
06687642b5 window.navigator has already been used 2023-11-28 19:48:41 +11:00
Andrew Murray
cf97e8644d Do not test for iOS 2023-11-28 19:48:31 +11:00
Andrew Murray
823c0b0790 Query now searches for exactly matching text 2023-11-28 19:39:38 +11:00
Hugo van Kemenade
ccb0a08a9b
Select "Windows" tab instad of "Windows using MSYS2/MinGW"
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2023-11-27 12:54:50 -07:00
Hugo van Kemenade
959b45c945 Activate tabs based on browser's operating system 2023-11-27 16:27:39 +02:00
Andrew Murray
55c5587437 Fill identical pixels with transparency in subsequent frames 2023-11-25 19:16:32 +11:00
Andrew Murray
c855584dac Corrected "optimize" default when saving GIF images 2023-11-25 17:30:09 +11:00
Andrew Murray
10fd7ff539 Remove implication that "-C" is since Pillow 3.0.0 2023-11-20 13:43:08 -08:00
Nulano
108eee1bdd use --config-settings in external libraries list 2023-11-20 19:39:49 +01:00
Andrew Murray
9f60788be1
No longer mention tcl/tk under "External Libraries"
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-11-20 23:17:41 +11:00
Andrew Murray
51075b8e5c tcl/tk is no longer a build dependency 2023-11-20 18:54:56 +11:00
Nulano
4b111d1d5e update tested versions to include Windows 11 2023-11-16 21:24:56 +01:00
Andrew Murray
4b308dc2bf
Merge pull request #7488 from bgilbert/jpeg-restart
Allow configuring JPEG restart marker interval on save
2023-11-14 23:42:50 +11:00
Hugo van Kemenade
cb485d7127 Test Fedora 39 2023-11-12 17:20:01 +02:00
Aarni Koskela
307d00b44d Apply ruff autofixes 2023-11-06 12:43:14 +02:00
Andrew Murray
8cbd0b5fe0 Docs: link exceptions to Python docs 2023-11-05 12:18:38 +11:00
Andrew Murray
38be37c5f9
Merge branch 'main' into docs-link-exceptions 2023-11-03 22:29:33 +11:00
Andrew Murray
bee9c59716
Merge pull request #7520 from hugovk/CVE-2023-44271
Add CVE-2023-44271 to release notes
2023-11-03 22:28:22 +11:00
Hugo van Kemenade
5339c1cf63 Add CVE-2023-44271 to ImageFont.MAX_STRING_LENGTH fix in release notes 2023-11-03 11:59:37 +02:00
Andrew Murray
1c2f2c79e1
Merge pull request #7509 from radarhere/olefile
Mention defusedxml and olefile in installation instructions
2023-11-03 19:16:16 +11:00
Andrew Murray
6b1e939027 Removed Fedora 37 2023-11-02 17:33:10 +11:00
Andrew Murray
d499f0016f
Mention defusedxml
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2023-11-02 08:21:35 +11:00
Hugo van Kemenade
ca74a5ea42 Docs: link exceptions to Python docs 2023-11-01 20:18:25 +02:00
Benjamin Gilbert
e572722479 Allow configuring JPEG restart marker interval on save
libjpeg allows specifying the marker interval either in MCU blocks or in
MCU rows.  Support both, via separate parameters, rather than requiring
callers to do the math.

Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2023-10-31 17:47:25 -05:00
Andrew Murray
b92c09a391
Updated wording
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-31 18:39:38 +11:00
Andrew Murray
1a6c76495b Mention olefile in installation instructions 2023-10-31 17:47:52 +11:00
Andrew Murray
8cd01cab80 Updated AppVeyor to Python 3.12 2023-10-31 12:44:53 +11:00
Hugo van Kemenade
ac6eb84704 Add 'pypi' Sphinx role 2023-10-30 08:56:42 +02:00
Andrew Murray
84e148e944 Document that olefile is required for FPX and MIC formats 2023-10-30 09:02:42 +11:00
Hugo van Kemenade
430920e2a8 Move build config from setup.cfg to pyproject.toml 2023-10-21 22:37:28 +03:00
Andrew Murray
d682c18ded Use "gray" more consistently 2023-10-19 19:12:01 +11:00
Andrew Murray
f790878853
Merge pull request #7466 from hugovk/10.1.0-3.12
Add Python 3.12 support to Pillow 10.1.0 release notes
2023-10-16 17:20:43 +11:00
Hugo van Kemenade
286028d263
Wording
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-10-16 08:05:26 +03:00
Andrew Murray
36f44db8cd Updated macOS tested Pillow versions 2023-10-16 15:34:02 +11:00
Andrew Murray
76049de4ad Fixed typos in tutorial 2023-10-15 22:39:35 +02:00
Nulano
1979d43c99 fix typo in ImageOps.rst 2023-10-15 22:07:08 +02:00
Hugo van Kemenade
daf1ce78ed Add Python 3.12 to Pillow 10.1.0 release notes 2023-10-15 18:57:14 +03:00
Andrew Murray
f50c713583 Move #7307 from "Backwards Incompatible Changes" to "API Changes" 2023-10-15 16:17:45 +11:00
Andrew Murray
a1ddb4dd27 Describe how to populate mode and size 2023-10-15 16:17:19 +11:00
Hugo van Kemenade
7bf1a87254
Merge pull request #7354 from radarhere/load_default
Added TrueType default font to allow for different sizes
2023-10-14 06:30:38 +02:00
Andrew Murray
c759ef2c08 Updated libimagequant to 4.2.2 2023-10-14 11:56:23 +11:00
Andrew Murray
c2d50881ee Added documentation 2023-10-14 11:01:57 +11:00
Hugo van Kemenade
810f5f06c4
Merge branch 'main' into cover 2023-10-13 23:42:06 +02:00
Andrew Murray
7cd792cf0c Updated libtiff to 4.6.0 2023-10-09 21:49:51 +11:00
Hugo van Kemenade
7921da54a7
Merge pull request #7448 from radarhere/links
Updated redirected links
2023-10-07 08:45:55 -06:00
Andrew Murray
4632bbcf8d Updated redirected links 2023-10-07 23:08:02 +11:00
Alex Clark
2784136b7a Use correct version spec syntax 2023-10-07 07:49:04 -04:00
Alex Clark
87f917c352 Pillow >= 9.5.0 no longer includes 32-bit wheels. 2023-10-07 07:43:32 -04:00
Andrew Murray
82bcedb860 Added release notes for #7392 2023-10-07 15:02:24 +11:00
Andrew Murray
0d7fb401e0 Added release notes for #7358 2023-10-07 14:50:11 +11:00
Andrew Murray
2d5421f28f Added release notes for #7336 2023-10-07 14:48:35 +11:00
Andrew Murray
21eec5ce75 Added release notes for #7355 2023-10-07 14:48:19 +11:00
pre-commit-ci[bot]
016f8998f9 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-10-06 00:40:44 +00:00
Andrew Murray
7394e5083d
Merge branch 'main' into tiff 2023-10-06 11:40:05 +11:00
Andrew Murray
9ae8d900ef Added release notes 2023-10-06 10:02:35 +11:00
Hugo van Kemenade
0a432541ae
Merge pull request #7392 from radarhere/eps 2023-10-05 09:27:06 -06:00
Hugo van Kemenade
b7010a9326
Merge pull request #7418 from radarhere/pillow-wheels 2023-10-02 10:09:50 -06:00
Hugo van Kemenade
c2f7ea59b9
Merge pull request #7426 from radarhere/dds_palette 2023-09-30 14:40:17 -06:00
Andrew Murray
114aadd2ca Added versionadded 2023-10-01 06:13:40 +11:00
Andrew Murray
955b2d553c
Merge branch 'main' into cover 2023-09-30 19:04:22 +10:00
Hugo van Kemenade
8cb1e29491
Merge pull request #7420 from radarhere/transparency 2023-09-30 02:53:22 -06:00
Andrew Murray
9ed9b11532 Corrected macOS version name 2023-09-30 17:41:43 +10:00
Andrew Murray
2433ffadf2 Updated macOS tested Pillow versions 2023-09-30 12:54:05 +10:00
Andrew Murray
3caae280b9 Added release notes 2023-09-30 11:32:54 +10:00
Andrew Murray
4142fc43ab Added release notes 2023-09-30 10:14:10 +10:00
Andrew Murray
1c5eab718f Include given size in table 2023-09-29 18:29:45 +10:00
Andrew Murray
40d11fa9ac Added demonstration images to tutorial 2023-09-28 08:27:56 +10:00
Andrew Murray
ac86175491 Added thumbnail() demonstration image 2023-09-28 08:17:06 +10:00
Andrew Murray
ac9d8180a3 Link to demonstration from release notes 2023-09-28 08:06:02 +10:00
Andrew Murray
2e4c1a1656 Added release notes 2023-09-26 21:19:04 +10:00
Andrew Murray
08c69ba7f5 Added demonstration images to docs 2023-09-26 21:16:30 +10:00
Andrew Murray
e27d7a6f84 Changed has_transparency_data() to property 2023-09-26 20:14:22 +10:00
Hugo van Kemenade
f76b63d016 Add end-of-file-fixer to pre-commit 2023-09-25 16:45:38 +03:00
Andrew Murray
6bbed1add0 Added has_transparency_data() 2023-09-25 20:10:44 +10:00
Andrew Murray
bd87653530 Updated wheel build process for new location 2023-09-24 22:51:42 +10:00
Andrew Murray
80dbd3b193 Added ImageOps cover method 2023-09-21 11:54:36 +10:00
Hugo van Kemenade
89340819cf
Merge pull request #7399 from radarhere/mime 2023-09-18 08:57:52 -06:00
Andrew Murray
09e9b95035 Updated macOS tested Pillow versions 2023-09-16 10:46:05 +10:00
Andrew Murray
cee8fd0788 Improved init() and preinit() documentation 2023-09-16 09:34:04 +10:00
Andrew Murray
fce23ddce8 Updated order 2023-09-15 23:42:43 +10:00
Andrew Murray
75d77ae6b2 Added release notes for 10.0.1 2023-09-15 23:41:22 +10:00
Andrew Murray
ffe2076fd6 Shortened property description 2023-09-13 08:03:23 +10:00
Andrew Murray
3ee8009561 Document gs_binary property 2023-09-12 22:22:42 +10:00
Andrew Murray
5f7ad10548 Updated libimagequant to 4.2.1 2023-09-11 15:49:10 +10:00
Andrew Murray
c0eb1bdeeb Only list latest tested version 2023-09-02 10:56:44 +10:00
Andrew Murray
115ef3a36d 32-bit Windows wheels are no longer provided 2023-08-21 15:17:30 +10:00
Tommy
8587121932
Fixed a typo in 10.0.0 release note 2023-08-18 11:20:18 +08:00
Andrew Murray
bfafa460e3 Allow "loop=None" when saving 2023-08-09 10:31:34 +10:00
Hugo van Kemenade
95257dff87
Merge pull request #7299 from radarhere/pdf 2023-08-04 11:43:09 +03:00
Andrew Murray
8eee457725 Added release notes 2023-07-31 21:06:16 +10:00
Andrew Murray
9979a822c7 Changed Image mode property to be read-only by default 2023-07-29 09:28:18 +10:00
Andrew Murray
07623d1a7c
Merge pull request #7305 from hugovk/docs-clarify-textlength-return
Docs: Clarify that a single value is returned, and depends on the text direction
2023-07-26 08:16:34 +10:00
Hugo van Kemenade
62cd236d1a Clarify that a single value is returned, and depends on the text direction 2023-07-25 12:31:58 +03:00
Andrew Murray
0a0a3fc51f Added saving LA images as PDFs 2023-07-22 20:16:45 +10:00
Andrew Murray
064cd6fb83 Added more information about PPM formats 2023-07-22 18:47:55 +10:00
Hugo van Kemenade
7b2c803c56
Fix 3.1 to 3.10
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-07-13 08:32:44 +03:00
Hugo van Kemenade
ab990fab77 Add support for Python 3.12 2023-07-12 16:31:45 +03:00
Andrew Murray
e6beb81523 Updated macOS tested Pillow versions 2023-07-06 13:22:50 +10:00
Grégoire Jadi
9a32c0f821
doc WAL: Add link to PIL.Image.Image.putpalette
[ci skip]
2023-07-05 11:26:46 +02:00
Andrew Murray
1fe1bb49c4 Added ImageFont.MAX_STRING_LENGTH 2023-06-30 23:32:26 +10:00
Andrew Murray
0fb69fa821 Added release notes for #7123 2023-06-30 16:59:36 +10:00
Andrew Murray
ae43cda4c5 Added release notes for #7235 2023-06-29 20:59:24 +10:00
Hugo van Kemenade
2de1bf221a
Merge pull request #7236 from radarhere/pyaccess 2023-06-29 13:58:50 +03:00
Hugo van Kemenade
b2387f9565
Merge pull request #7233 from radarhere/libtiff 2023-06-29 13:56:12 +03:00
Andrew Murray
b5ce3193b6 Deprecate Image.USE_CFFI_ACCESS 2023-06-29 08:30:10 +10:00
Andrew Murray
1a185973dd Mention default behaviour change 2023-06-28 22:00:32 +10:00
Andrew Murray
8a36b0fc2d Deprecate PyAccess 2023-06-28 20:10:10 +10:00
Andrew Murray
27b1acf470 Test 32-bit Windows on AppVeyor 2023-06-27 20:51:16 +10:00
Andrew Murray
c67d73d3c9 Test 32-bit Debian 12 2023-06-27 16:36:22 +10:00
Andrew Murray
45c9dcf123 Restored 32-bit support 2023-06-27 14:43:58 +10:00
Andrew Murray
51cd79266d Updated libtiff to 4.5.1 2023-06-27 13:51:17 +10:00
Hugo van Kemenade
190c53a1b1
Merge pull request #7228 from radarhere/32bit
Removed support for 32-bit
2023-06-24 19:02:00 +03:00
Andrew Murray
abf05414de Mention that 32-bit wheels are no longer provided 2023-06-24 21:52:13 +10:00
Hugo van Kemenade
c48263494c
Merge pull request #7171 from radarhere/build
Use --config-settings instead of deprecated --global-option
2023-06-24 12:43:13 +03:00
Andrew Murray
9c5175d048 Added release notes 2023-06-24 17:52:28 +10:00
Andrew Murray
d6f19625e8 Removed support for 32-bit 2023-06-23 21:52:00 +10:00
Andrew Murray
f28ecc5808 Document how to install on MinGW when setuptools >= 60 2023-06-22 17:45:24 +10:00
Andrew Murray
b2b05f3b83 Moved QOI from Write-Only to Read-Only 2023-06-14 18:55:19 +10:00
Andrew Murray
187e9a46af Improved documention of "corners" argument for rounded_rectangle 2023-06-14 11:21:43 +10:00
Hugo van Kemenade
a6efb36eda
Merge pull request #7169 from radarhere/coordinate 2023-06-13 20:01:34 +03:00
Hugo van Kemenade
5a0fb8ec12 Add Debian 12 Bookworm 2023-06-11 00:05:47 +03:00
Andrew Murray
2d0b13b812 Swapped config key and value 2023-06-04 22:37:17 +10:00
Andrew Murray
87807727eb Merge branch 'main' into build 2023-06-04 22:17:43 +10:00
Andrew Murray
3693b84ba0 Lint fixes 2023-06-02 09:21:47 +10:00
Andrew Murray
4f734d295f Use --config-settings instead of deprecated --global-option 2023-05-20 15:38:36 +10:00
Andrew Murray
b39c807dde Removed rectangle example from co-ordinate system documentation 2023-05-18 22:14:40 +10:00
Hugo van Kemenade
a58034b86c
Merge pull request #7135 from n3011/jpg_repr 2023-05-16 12:14:40 +03:00
Hugo van Kemenade
34ff170d8e
Merge pull request #7143 from nulano/imagegrab-prefer-xcb
Prefer screenshots using XCB over gnome-screenshot
2023-05-14 19:55:16 +03:00
Andrew Murray
9754c8d18d Added release notes 2023-05-14 22:42:39 +10:00
Andrew Murray
6df8716025 Update grabclipboard() documentation after #6783 2023-05-13 21:54:54 +10:00
Hugo van Kemenade
0efd72d33f
Merge pull request #7142 from radarhere/imagedraw 2023-05-12 18:31:09 +03:00
Andrew Murray
848fd7c2db Added linkcheck_allowed_redirects 2023-05-11 16:49:08 +10:00
Andrew Murray
8bbccba825 Updated redirected URL 2023-05-11 08:13:33 +10:00
nulano
bb18abc603
prefer screenshots using XCB over gnome-screenshot 2023-05-08 22:57:12 +01:00
Andrew Murray
2f896ee4ac Clarify that line() and polygon() include xy pixels 2023-05-08 21:16:34 +10:00
Andrew Murray
17fbafb10b Updated ImagePath tolist() default 2023-05-05 18:12:10 +10:00
Andrew Murray
3ae321832a Added release notes for #7132 2023-05-04 15:37:35 +10:00
Andrew Murray
9154a6b22d Added release notes 2023-05-04 08:01:48 +10:00
Andrew Murray
3fc446c277 Added width argument to regular_polygon 2023-05-03 22:54:18 +10:00
Andrew Murray
db7326674e Updated libimagequant to 4.2.0 2023-05-03 13:43:19 +10:00
Andrew Murray
99a474a9e6 Removed Ubuntu 18.04 2023-04-25 23:55:29 +10:00
Andrew Murray
f5c1f7a2c2 Added Fedora 38 2023-04-22 21:47:36 +10:00
Andrew Murray
895f5a4ffc Updated macOS tested Pillow versions [ci skip] 2023-04-21 09:04:46 +10:00
Andrew Murray
625b9fcf02
Merge pull request #7101 from hugovk/fix-typo
Fix typo
2023-04-19 23:26:18 +10:00
Hugo van Kemenade
75c4acf02c Fix typo 2023-04-19 06:46:58 -06:00
Andrew Murray
4e6f1f1ac6 Removed Fedora 36 2023-04-17 19:08:59 +10:00
Andrew Murray
16aa710c78 Updated documentation 2023-04-10 20:14:15 +10:00
Andrew Murray
b2301d70d1 Removed ImageFont.getsize and related functions 2023-04-10 16:56:13 +10:00
Andrew Murray
75388cfe42
Merge pull request #7059 from hugovk/rm-qt5
Remove deprecations for Pillow 10.0.0
2023-04-08 20:11:00 +10:00
Andrew Murray
c26b462159 Updated documentation 2023-04-08 11:52:38 +10:00
Hugo van Kemenade
f1f46a718d Add removals to 10.0.0 release notes 2023-04-06 16:11:36 +03:00
Hugo van Kemenade
b25bf5161a Remove Image.coerce_e, deprecated in 9.2.0 2023-04-06 16:11:36 +03:00
Hugo van Kemenade
584f8c39de Remove PhotoImage.paste() box parameter, deprecated in 9.2.0 2023-04-06 16:11:36 +03:00
Hugo van Kemenade
c9f11565f1 Remove FreeTypeFont.getmask2 fill parameter, deprecated in 9.2.0 2023-04-06 16:11:36 +03:00
Hugo van Kemenade
575a038f97 Remove FitsStubImagePlugin, deprecated in 9.1.0 2023-04-06 16:11:36 +03:00
Hugo van Kemenade
c8ec15980b Remove constants deprecated in 9.1.0 2023-04-06 16:11:36 +03:00
Hugo van Kemenade
8d83d5e66a Remove ImageShow.Viewer.show_file file argument, deprecated in 9.1.0 2023-04-06 16:11:36 +03:00
Hugo van Kemenade
5dbef9e0a8 Remove ImagePalette size parameter, deprecated in 8.4.0 2023-04-06 16:11:36 +03:00
Hugo van Kemenade
52f4fc59a2 Remove JpegImagePlugin.convert_dict_qtables, deprecated in 8.3.0 2023-04-06 16:11:36 +03:00
Hugo van Kemenade
ddc4e90235 Remove im.category and related Image.NORMAL, Image.SEQUENCE, Image.CONTAINER, deprecated in 8.2.0 2023-04-06 16:11:36 +03:00
Hugo van Kemenade
070e770469 Remove support for Tk/Tcl <= 8.4, deprecated in 8.2.0 2023-04-06 16:11:36 +03:00
Hugo van Kemenade
59c9d87f8a Remove support for PyQt5 and PySide2, deprecated in 9.2.0 2023-04-06 16:11:36 +03:00
Andrew Murray
4720774a85 Describe the effect of brightness and contrast factors above 1 2023-04-04 14:59:26 +10:00
Andrew Murray
498b475e82 Added links to more information about the enhancement factor 2023-04-04 13:23:19 +10:00
Hugo van Kemenade
6a2087ebe4 Amazon Linux 2 now tested with Python 3.9 2023-04-02 17:46:00 +03:00
Hugo van Kemenade
596569c928 Drop support for soon-EOL Python 3.7 2023-04-01 15:58:08 +03:00
Andrew Murray
fa689fba04 Removed unused sections 2023-04-01 18:35:43 +11:00
Hugo van Kemenade
48b0be2fb7
Merge pull request #6879 from Yay295/eps_plugin_perf 2023-04-01 08:55:48 +03:00
Andrew Murray
aa9ecac032 Added ImageSourceData to TAGS_V2 2023-04-01 10:27:39 +11:00
Andrew Murray
5932a0bd19 Clear half token after use 2023-04-01 09:23:57 +11:00
Yay295
61d0c8f523 change PSFile deprecation from 9.4.0 to 9.5.0 2023-03-29 10:30:20 -05:00
Yay295
b8b153fd77
Merge branch 'python-pillow:main' into eps_plugin_perf 2023-03-29 10:27:25 -05:00
Hugo van Kemenade
39cdcde605
Merge pull request #6912 from radarhere/universal2 2023-03-29 16:45:13 +03:00
Andrew Murray
f8be09612d
Merge pull request #6903 from joshware/jp2k_options
Support custom comments and PLT markers when saving JPEG2000 images
2023-03-29 23:43:54 +11:00
Andrew Murray
598216fb46 OpenJPEG 2.4.0 or later is required for PLT markers 2023-03-29 19:25:14 +11:00
Andrew Murray
7d6ff23e1f
Renamed "add_plt" to "plt"
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-03-28 07:32:30 +11:00
Andrew Murray
a7df096d1b Added release notes 2023-03-27 22:39:01 +11:00
Andrew Murray
d5d830dd00 Merge branch 'main' into bgr32 2023-03-25 23:45:48 +11:00
Andrew Murray
a236c272a8 Added release notes 2023-03-25 23:41:27 +11:00
Andrew Murray
176b2a2000 Merge branch 'master' into jp2k_options 2023-03-23 08:57:20 +11:00
Hugo van Kemenade
31e8e012bb
Merge pull request #6909 from radarhere/jp2_comment 2023-03-22 23:54:55 +02:00
Andrew Murray
7700840240
Merge pull request #7016 from hugovk/docs-replace-sphinx-issues
Docs: Replace dependency sphinx-issues with builtin sphinx.ext.extlinks
2023-03-22 16:24:53 +11:00
Hugo van Kemenade
3a262f0523
Apply suggestions from code review
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-03-21 14:05:58 +02:00
Andrew Murray
b3bf1ca6d9 Fixed calling html target from htmlview 2023-03-21 22:37:45 +11:00
Andrew Murray
2b164943a3
Merge pull request #7017 from PyFPDF/c_extension_debugging
Minor improvement made to c_extension_debugging.rst
2023-03-20 11:56:08 +11:00
Andrew Murray
c3a7422ad3 Added Amazon Linux 2023 docker image 2023-03-19 22:36:37 +11:00
Auto-5
16d235f8bc
Fix order of arguments in docstring 2023-03-17 18:08:19 +00:00
Lucas Cimon
1bded83357
Update docs/reference/c_extension_debugging.rst
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-03-16 07:52:19 +01:00
Cimon Lucas (LCM)
4d77a579ba [Doc] Minor improvement made to c_extension_debugging.rst 2023-03-15 19:26:42 +01:00
Hugo van Kemenade
542d25ccee Add 'make htmlview' to open index page 2023-03-15 14:04:15 +02:00
Hugo van Kemenade
b168ec2606 Replace dependency sphinx-issues with builtin sphinx.ext.extlinks 2023-03-15 14:04:15 +02:00
Andrew Murray
2d5f451f58
Merge pull request #7014 from hugovk/rm-eol-debian10
Remove EOL Debian 10 Buster from CI
2023-03-15 08:33:45 +11:00
Hugo van Kemenade
1f1ab16631 Remove EOL Debian 10 Buster from CI 2023-03-14 22:35:26 +02:00
Andrew Murray
9e6ae98362 Dropped support for BGR;32 mode 2023-03-13 17:31:12 +11:00
Andrew Murray
023d4349e4 Added release notes for #6834 2023-03-13 17:00:07 +11:00
mergify[bot]
264b19b266
Merge pull request #6852 from radarhere/qoi
Added QOI reading
2023-03-12 14:43:19 +00:00
Andrew Murray
da2083fb8d List modes that can be used when saving PDFs 2023-03-13 00:07:53 +11:00
Andrew Murray
4e5e7e0975 Added release notes for #6925 2023-03-12 23:49:06 +11:00
Andrew Murray
0a6092b0e6
Use full name of format
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-03-12 23:25:38 +11:00
Andrew Murray
a334bb6524 Updated libimagequant to 4.1.1 2023-03-10 20:24:34 +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
nulano
52cce5293d
restore link anchor 2023-03-05 19:51:14 +00:00
Andrew Murray
a7f836187d Removed missing anchor from link 2023-03-05 21:51:46 +11:00
Andrew Murray
b9c772a889
Capitalised variable type
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-03-04 22:08:36 +11:00
Andrew Murray
96e4e6160e Added release notes for #6961 and #6954 2023-03-04 21:00:18 +11:00
Yay295
281cbc2755
Merge branch 'python-pillow:main' into eps_plugin_perf 2023-03-02 15:29:12 -06:00
mergify[bot]
1c24fa5f7d
Merge pull request #6978 from radarhere/coordinates
Raise an error if ImageDraw co-ordinates are incorrectly ordered
2023-03-01 11:44:00 +00:00
Andrew Murray
53fb3a9365 Updated lcms2 to 2.15 2023-03-01 11:04:14 +11:00
Andrew Murray
6e9c0ae5a0 Further document that x1 >= x0 and y1 >= y0 2023-02-28 22:49:04 +11:00
Hugo van Kemenade
7e8b11b159
Merge pull request #6954 from radarhere/corners 2023-02-26 18:29:35 +02:00
Hugo van Kemenade
7d8a08b221
Merge pull request #6958 from radarhere/codeblock 2023-02-25 13:38:29 +02:00
Andrew Murray
4777379465
Merge pull request #6961 from jvanderneutstulen/add-save-pdf-dpi-tuple
Support saving PDF with different X and Y resolution
2023-02-24 12:50:42 +11:00
Jasper van der Neut - Stulen
3c3d888450 Update docs/handbook/image-file-formats.rst
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-02-23 23:26:52 +01:00
Andrew Murray
742aff3718 Replace Python code-blocks with double colons 2023-02-24 08:17:10 +11:00
Andrew Murray
acc7e0b469 Highlight code example 2023-02-24 08:00:24 +11:00
Jasper van der Neut
36bcc0a898 Support saving PDF with different X and Y resolution.
Add a `dpi` parameter to the PDF save function, which accepts
a tuple with X and Y dpi.
This is useful for converting tiffg3 (fax) images to pdf,
which have split dpi like (204,391), (204,196) or (204,98).
2023-02-21 11:49:05 +01:00
Andrew Murray
a55c2b42b9 If following colon, replace Python code-blocks with double colons 2023-02-18 20:34:52 +11:00
Andrew Murray
0f2a4c1ae5 Added "corners" argument to rounded_rectangle() 2023-02-16 19:19:17 +11:00
mergify[bot]
d48dca3dc4
Merge pull request #6952 from jzern/webp-quality
Corrected documented WebP quality range
2023-02-15 08:19:01 +00:00
James Zern
8935dad32e image-file-formats.rst: document WebP 'xmp' option 2023-02-14 17:29:06 -08:00
James Zern
06ba226e7b image-file-formats.rst: correct WebP quality range
0-100, not 1-100
2023-02-14 17:28:16 -08:00
Andrew Murray
42683781d6 Updated CI targets 2023-02-12 13:41:35 +11:00
Hugo van Kemenade
ab2809a44c Test Python 3.12-dev on macOS and Ubuntu 2023-02-11 16:39:14 +02:00
Hugo van Kemenade
ac6b9632b4 Test Python 3.12-dev on macOS and Ubuntu 2023-02-11 16:36:52 +02:00
Yay295
35463e8ca3 Merge branch 'main' into eps_plugin_perf 2023-02-06 17:50:18 -06:00
Yay295
bd0fac80c4 deprecate EpsImagePlugin.PSFile 2023-02-06 17:26:05 -06:00
Andrew Murray
9eacaee399 Document how to create universal2 wheels 2023-01-28 09:36:22 +11:00
Renat Nasyrov
9dc9e82bef
Specify correct description for mode L. 2023-01-24 00:11:27 +01:00
Andrew Murray
20c54ba110 Updated libimagequant to 4.1.0 2023-01-23 07:37:20 +11:00
Josh Ware
d55563ca25
Update docs/handbook/image-file-formats.rst to fix lint
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-01-19 12:05:05 +11:00
Josh Ware
de43bc99c8 Added support for jpeg2000 comments and PLT marker segments 2023-01-19 11:37:14 +11:00
Andrew Murray
2332a1c796 Updated libimagequant to 4.0.5 2023-01-18 08:27:49 +11:00
pre-commit-ci[bot]
5a71fe8041 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-01-14 17:39:37 +00:00
Alex Clark
55ce251a89 Alex Clark -> Jeffrey A. Clark (Alex)
I'm still "Alex", just on a Jeffrey A. Clark roll lately.
2023-01-14 12:36:22 -05:00
Andrew Murray
ad46630cdf Updated macOS tested Pillow versions [ci skip] 2023-01-12 18:04:41 +11:00
Hugo van Kemenade
5a2369fc33 Verify the Mastodon docs link 2023-01-11 17:18:02 +02:00
nulano
07a3aef3ef
list --{dis,en}able-raqm options in installation documentation 2023-01-09 20:46:07 +01:00
Andrew Murray
d3d7566d9a Refer to Resampling enum 2023-01-07 11:27:43 +11:00
Andrew Murray
0421b2f2a0 Added social links to docs 2023-01-05 10:43:01 +11:00
mergify[bot]
38a93a0571
Merge pull request #6850 from radarhere/releasenotes
Added release notes for #6842 and #6846
2023-01-01 22:03:09 +00:00
Andrew Murray
e908afea40
Updated security descriptions
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-01-02 08:17:47 +11:00
Andrew Murray
35b4c433b3 Added release notes for #6846 2023-01-02 00:32:35 +11:00
Andrew Murray
a632b7a3e7 Added release notes for #6842 2023-01-02 00:25:49 +11:00
Andrew Murray
13306974e7 Updated copyright year 2022-12-31 20:14:17 +11:00
Andrew Murray
559b7ae476 Updated wording 2022-12-31 09:43:36 +11:00
Andrew Murray
b4347daa3c Merge branch 'main' into enum 2022-12-31 09:37:56 +11:00
Hugo van Kemenade
2ae55ccbda Improve exception traceback readability 2022-12-30 00:07:52 +02:00
Hugo van Kemenade
cea6c1e86c
Merge pull request #6838 from radarhere/premultiplied_alpha
Document the meaning of "premultiplied alpha"
2022-12-29 12:02:40 +02:00
Hugo van Kemenade
f452f9a3f3
Merge pull request #6709 from radarhere/signed
Added signed option when saving JPEG2000 images
2022-12-29 11:59:33 +02:00
Andrew Murray
21e811117e Updated release notes 2022-12-29 13:55:13 +11:00
Andrew Murray
efa27a70d6 Document the meaning of "premultiplied alpha" 2022-12-29 13:18:45 +11:00
Andrew Murray
a4baeda9f6
Fixed typo
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-12-29 11:07:16 +11:00
Andrew Murray
cd351c4f85 Added release notes 2022-12-29 09:41:14 +11:00
Andrew Murray
4518dc82ba Merge branch 'main' into signed 2022-12-29 09:37:35 +11:00
Andrew Murray
a9c46bc288 Document "transparency" info key 2022-12-28 10:22:10 +11:00
Andrew Murray
bcdb208fe2 Restored Image constants, except for duplicate Resampling attributes 2022-12-28 09:44:53 +11:00
Hugo van Kemenade
0a19b34a85
Merge pull request #6820 from radarhere/dds_l
Added DDS support for uncompressed L and LA images
2022-12-26 10:02:37 +02:00
Hugo van Kemenade
88420f6cfb
Merge pull request #6749 from radarhere/exif_lightsource
Added LightSource tag values to ExifTags
2022-12-26 10:01:32 +02:00
Andrew Murray
426ac9c1fe Updated libtiff to 4.5.0 2022-12-24 14:19:32 +11:00
Andrew Murray
941a2d60b2 Added release notes 2022-12-24 08:41:57 +11:00
Andrew Murray
5c482e20af Document new ExifTags enums 2022-12-24 08:32:58 +11:00
Hugo van Kemenade
edcfe09f12
Merge pull request #6795 from radarhere/modes 2022-12-22 18:09:11 +02:00
Andrew Murray
1df7e75205 Python 3.7 on Cygwin is no longer part of CI 2022-12-22 06:52:06 +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
164311a756 Specify "I" and "F" ranges 2022-12-12 06:55:10 +11:00
Andrew Murray
ae3f43de64 Document Hue range 2022-12-10 19:48:07 +11:00
Andrew Murray
bef128b04b Added support for saving JPEG comments 2022-12-07 22:30:15 +11:00
Andrew Murray
61cbcaee64 Changed indentation to be consistent 2022-12-03 10:35:01 +11:00
Hugo van Kemenade
96b316880e Use 4-space indents for RST 2022-12-02 11:40:06 +02:00
Hugo van Kemenade
50ccb27a4d
Remove extra space
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-11-28 23:23:46 +02:00
Hugo van Kemenade
5e42b1779e Reorder tabs: big three OS first 2022-11-28 12:53:23 +02:00
Hugo van Kemenade
d12c119ec4 Inline PHONY targets to help avoid omissions (texinfo, info, livehtml, serve were missing) 2022-11-28 12:53:23 +02:00
Hugo van Kemenade
e6e5a0018e Add missing 'make help' for serve and livehtml 2022-11-28 12:53:23 +02:00
Hugo van Kemenade
e3a46fcfd0 Use sphinx-inline-tabs to organise installation per OS 2022-11-28 12:53:11 +02:00
Hugo van Kemenade
a2570164cc
Merge pull request #6756 from radarhere/source 2022-11-28 10:28:26 +02:00
Andrew Murray
91fe817911
Updated instructions to download source code
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-11-28 18:03:08 +11:00
Andrew Murray
50cdf39f50 List dependency instructions first 2022-11-28 09:18:47 +11:00
Andrew Murray
24a5405a9f Added IFD enum 2022-11-28 08:39:56 +11:00