From 064cd6fb830fc50d879091761e14047d7c5dc350 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 22 Jul 2023 18:47:55 +1000 Subject: [PATCH] Added more information about PPM formats --- docs/handbook/image-file-formats.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/handbook/image-file-formats.rst b/docs/handbook/image-file-formats.rst index fbaca5ae7..bd4995fc0 100644 --- a/docs/handbook/image-file-formats.rst +++ b/docs/handbook/image-file-formats.rst @@ -861,6 +861,10 @@ PPM Pillow reads and writes PBM, PGM, PPM and PNM files containing ``1``, ``L``, ``I`` or ``RGB`` data. +"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. + SGI ^^^