← 返回命令列表

Linux command

ppmtobmp 命令

文本

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

Convert PPM to BMP

ppmtobmp [input.ppm] > [output.bmp]

Create Windows BMP

ppmtobmp -windows [input.ppm] > [output.bmp]

Create OS/2 BMP

ppmtobmp -os2 [input.ppm] > [output.bmp]

说明

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

参数

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

FAQ

What is the ppmtobmp command used for?

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

How do I run a basic ppmtobmp example?

Run `ppmtobmp [input.ppm] > [output.bmp]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -windows do in ppmtobmp?

Windows BMP format.