Use versionadded

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
Andrew Murray 2026-02-13 18:29:41 +11:00 committed by GitHub
parent 657d0414f0
commit f71d74eec2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1076,10 +1076,12 @@ Pillow reads and writes PBM, PGM, PPM, PNM and PFM files containing ``1``, ``L``
"Raw" (P4 to P6) formats can be read, and are used when writing.
Since Pillow 9.2.0, "plain" (P1 to P3) formats can be read as well.
.. versionadded:: 9.2.0
"Plain" (P1 to P3) formats can be read.
Since Pillow 10.3.0, grayscale (Pf format) Portable FloatMap (PFM) files containing
``F`` data can be read and used when writing as well.
.. versionadded:: 10.3.0
Grayscale (Pf format) Portable FloatMap (PFM) files containing
``F`` data can be read and used when writing.
Color (PF format) PFM files are not supported.