mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-07 16:45:42 +00:00
22 lines
670 B
Plaintext
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}}`
|