PPM-FI Portable Pixelmap (ASCII)

Extensions: .ppm

A PNM format based on the Freeimage library.

This format supports single bit (PBM), grayscale (PGM) and RGB (PPM) images, even with ASCII or binary coding.

The freeimage plugin requires a freeimage binary. If this binary not available on the system, it can be downloaded manually from <https://github.com/imageio/imageio-binaries> by either

  • the command line script imageio_download_bin freeimage
  • the Python method imageio.plugins.freeimage.download()

Parameters for saving

use_ascii : bool
Save with ASCII coding. Default True.