From 8c57cd56a5107fe8957f8a753dbe15f3da33e5d9 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Wed, 3 Apr 2024 12:00:02 +1100 Subject: [PATCH 1/5] QoiImagePlugin uses PyDecoder --- docs/handbook/image-file-formats.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/handbook/image-file-formats.rst b/docs/handbook/image-file-formats.rst index f3f0499f052..c171705c287 100644 --- a/docs/handbook/image-file-formats.rst +++ b/docs/handbook/image-file-formats.rst @@ -1488,7 +1488,7 @@ QOI .. versionadded:: 9.5.0 -Pillow identifies and reads images in Quite OK Image format. +Pillow reads images in Quite OK Image format, using a Python decoder. SUN ^^^ From 0cc5de4e0949b8e5ef810465cde7332bde825c72 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Thu, 4 Apr 2024 12:17:02 +1100 Subject: [PATCH 2/5] Link to https://pypi.org/project/qoi --- docs/handbook/image-file-formats.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/handbook/image-file-formats.rst b/docs/handbook/image-file-formats.rst index c171705c287..bff056b75d7 100644 --- a/docs/handbook/image-file-formats.rst +++ b/docs/handbook/image-file-formats.rst @@ -1488,7 +1488,9 @@ QOI .. versionadded:: 9.5.0 -Pillow reads images in Quite OK Image format, using a Python decoder. +Pillow reads images in Quite OK Image format, using a Python decoder. If you wish to +write code specifically for this format, https://pypi.org/project/qoi is an alternative +library that uses C to decode the image, and interfaces with NumPy. SUN ^^^ From 2a2588d5df13c329d442b613960bc0ba7e606543 Mon Sep 17 00:00:00 2001 From: Andrew Murray <3112309+radarhere@users.noreply.github.com> Date: Fri, 5 Apr 2024 05:09:11 +1100 Subject: [PATCH 3/5] Use extlink Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- docs/handbook/image-file-formats.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/handbook/image-file-formats.rst b/docs/handbook/image-file-formats.rst index bff056b75d7..fbef08bcecc 100644 --- a/docs/handbook/image-file-formats.rst +++ b/docs/handbook/image-file-formats.rst @@ -1489,7 +1489,7 @@ QOI .. versionadded:: 9.5.0 Pillow reads images in Quite OK Image format, using a Python decoder. If you wish to -write code specifically for this format, https://pypi.org/project/qoi is an alternative +write code specifically for this format, :pypi:`qoi` is an alternative library that uses C to decode the image, and interfaces with NumPy. SUN From 0702f704fa147ea583eb61ca01280c9e59665264 Mon Sep 17 00:00:00 2001 From: Andrew Murray <3112309+radarhere@users.noreply.github.com> Date: Fri, 5 Apr 2024 05:16:41 +1100 Subject: [PATCH 4/5] Remove commas MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ondrej Baranovič --- docs/handbook/image-file-formats.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/handbook/image-file-formats.rst b/docs/handbook/image-file-formats.rst index fbef08bcecc..06716255bff 100644 --- a/docs/handbook/image-file-formats.rst +++ b/docs/handbook/image-file-formats.rst @@ -1488,9 +1488,9 @@ QOI .. versionadded:: 9.5.0 -Pillow reads images in Quite OK Image format, using a Python decoder. If you wish to +Pillow reads images in Quite OK Image format using a Python decoder. If you wish to write code specifically for this format, :pypi:`qoi` is an alternative -library that uses C to decode the image, and interfaces with NumPy. +library that uses C to decode the image and interfaces with NumPy. SUN ^^^ From 059b8e91717c04e2827a937c1c5bfd7d5d947548 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 5 Apr 2024 06:52:36 +1100 Subject: [PATCH 5/5] Updated line formatting --- docs/handbook/image-file-formats.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/handbook/image-file-formats.rst b/docs/handbook/image-file-formats.rst index 06716255bff..1ec97214900 100644 --- a/docs/handbook/image-file-formats.rst +++ b/docs/handbook/image-file-formats.rst @@ -1489,8 +1489,8 @@ QOI .. versionadded:: 9.5.0 Pillow reads images in Quite OK Image format using a Python decoder. If you wish to -write code specifically for this format, :pypi:`qoi` is an alternative -library that uses C to decode the image and interfaces with NumPy. +write code specifically for this format, :pypi:`qoi` is an alternative library that +uses C to decode the image and interfaces with NumPy. SUN ^^^