Files
cheatsheet-tldr/tldr/pbmtonokia
2025-12-22 00:22:43 +00:00

34 lines
1.2 KiB
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pbmtonokia
> Convert a PBM image to one of Nokia's Smart Messaging Formats.
> More information: <https://netpbm.sourceforge.net/doc/pbmtonokia.html>.
- Convert a PBM image into a Nokia Operator Logo as hexcode:
`pbmtonokia {{[-f|-fmt]}} NEX_NOL -net {{network_operator_code}} {{path/to/image.pbm}} > {{path/to/output.hex}}`
- Convert a PBM image into a Nokia Group Graphic as hexcode:
`pbmtonokia {{[-f|-fmt]}} NEX_NGG {{path/to/image.pbm}} > {{path/to/output.hex}}`
- Convert a PBM image into a Nokia Picture Message with the specified text as hexcode:
`pbmtonokia {{[-f|-fmt]}} NEX_NPM -txt {{text_message}} {{path/to/image.pbm}} > {{path/to/output.hex}}`
- Convert a PBM image into a Nokia Operator Logo as a NOL file:
`pbmtonokia {{[-f|-fmt]}} NOL {{path/to/image.pbm}} > {{path/to/output.nol}}`
- Convert a PBM image into a Nokia Group Graphic as an NGG file:
`pbmtonokia {{[-f|-fmt]}} NGG {{path/to/image.pbm}} > {{path/to/output.ngg}}`
- Convert a PBM image into a Nokia Picture Message as an NPM file:
`pbmtonokia {{[-f|-fmt]}} NPM {{path/to/image.pbm}} > {{path/to/output.npm}}`