# pbmtonokia(1) - man - phpman

> **TLDR:** Convert a PBM image to one of Nokia's Smart Messaging Formats.
>
- 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}}`

*Source: tldr-pages*

---

[pbmtonokia(1)](https://www.chedong.com/phpMan.php/man/pbmtonokia/1/markdown)                          General Commands Manual                         [pbmtonokia(1)](https://www.chedong.com/phpMan.php/man/pbmtonokia/1/markdown)



## NAME
       pbmtonokia - convert a portable bitmap to Nokia Smart Messaging Formats

## SYNOPSIS
       **pbmtonokia** **[options]** [_pbmfile_]

## DESCRIPTION
       Reads  a  portable  bitmap  as input.  Produces a Nokia Smart Messaging (hexcode, .nok, .ngg)
       file as output.

## OPTIONS
### -fmt

       HEX_NOL
              Nokia Operator Logo as (uploadable) hexcode.  Use option -net to specify network code.

       HEX_NGG
              Nokia Group Graphic as (uploadable) hexcode.

       HEX_NMP
              Nokia Picture Message as (uploadable) hexcode.  Use option -txt  to  specify  optional
              text message.

       NOL    Nokia  Operator Logo as .nol format. This is editable by the Group-Graphic Editor from
              Kessler Wireless Design (www.kessler-design.com)

       NGG    Nokia Group Graphic as .ngg format. This is editable by the Group-Graphic Editor  from
              Kessler Wireless Design (www.kessler-design.com)

### -net
              = D1,Germany).

### -txt

## LIMITATIONS
       Currently limited to rows<=255 and columns<=255. Supports only b/w graphics, not animated.

## SEE ALSO
       [**pbm**(5)](https://www.chedong.com/phpMan.php/man/pbm/5/markdown), **Nokia** **Smart** **Messaging** **Specification** **(<http://forum.nokia.com>)**

## AUTHOR
       Copyright (C) 2001 Tim Ruehsen <<tim.ruehsen@openmediasystem.de>>.



                                            26 June 2001                               [pbmtonokia(1)](https://www.chedong.com/phpMan.php/man/pbmtonokia/1/markdown)
