HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pbmtonokia — Convert a PBM image to one of Nokia's Smart Messaging Formats. More information: <https://netpbm.sou

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandconvertcliimagenokiapbmtonokiapbmone

Problem

How to use the pbmtonokia command: Convert a PBM image to one of Nokia's Smart Messaging Formats. More information: <https://netpbm.sourceforge.net/doc/pbmtonokia.html>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/pbmtonokia

Revisions (0)

No revisions yet.