Files
cheatsheet-tldr/tldr/picttoppm
2025-04-02 00:19:10 +00:00

22 lines
670 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# picttoppm
> Convert a Macintosh PICT file to a PPM image.
> More information: <https://netpbm.sourceforge.net/doc/picttoppm.html>.
- Convert a PICT file to a PPM image:
`picttoppm {{path/to/file.pict}} > {{path/to/file.ppm}}`
- Force any images in the PICT file to be output at full resolution:
`picttoppm {{[-fu|-fullres]}} {{path/to/file.pict}} > {{path/to/file.ppm}}`
- Do not assume that the input file contains a PICT header and execute quickdraw operations only:
`picttoppm {{[-n|-noheader]}} {{[-quic|-quickdraw]}} {{path/to/file.pict}} > {{path/to/file.ppm}}`