mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-08 01:57:24 +00:00
Update cheatsheets
This commit is contained in:
22
pbmtomda
Normal file
22
pbmtomda
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pbmtomda
|
||||
|
||||
> Convert a PBM image to a Microdesign MDA file.
|
||||
> See also: `mdatopbm`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pbmtomda.html>.
|
||||
|
||||
- Convert a PBM image to a MDA file:
|
||||
|
||||
`pbmtomda {{path/to/image.pbm}} > {{path/to/output.mda}}`
|
||||
|
||||
- Invert the colors in the input image:
|
||||
|
||||
`pbmtomda -i {{path/to/image.pbm}} > {{path/to/output.mda}}`
|
||||
|
||||
- Halve the input image's height:
|
||||
|
||||
`pbmtomda -d {{path/to/image.pbm}} > {{path/to/output.mda}}`
|
||||
Reference in New Issue
Block a user