LinuxCommandLibrary

ppmtobmp

Convert PPM images to BMP format

TLDR

Convert PPM to BMP

$ ppmtobmp [input.ppm] > [output.bmp]
copy
Create Windows BMP
$ ppmtobmp -windows [input.ppm] > [output.bmp]
copy
Create OS/2 BMP
$ ppmtobmp -os2 [input.ppm] > [output.bmp]
copy

SYNOPSIS

ppmtobmp [options] [file]

DESCRIPTION

ppmtobmp converts PPM images to BMP (Windows/OS2 bitmap) format. Part of Netpbm toolkit for image format conversion.

PARAMETERS

-windows

Windows BMP format.
-os2
OS/2 BMP format.
-bpp bits
Bits per pixel (1, 4, 8, 24).

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community