{
    "mode": "man",
    "parameter": "pbmtonokia",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/pbmtonokia/1/json",
    "generated": "2026-06-03T01:48:45Z",
    "synopsis": "pbmtonokia [options] [pbmfile]",
    "sections": {
        "NAME": {
            "content": "pbmtonokia - convert a portable bitmap to Nokia Smart Messaging Formats\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pbmtonokia [options] [pbmfile]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Reads  a  portable  bitmap  as input.  Produces a Nokia Smart Messaging (hexcode, .nok, .ngg)\nfile as output.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-fmt",
                    "content": "HEXNOL\nNokia Operator Logo as (uploadable) hexcode.  Use option -net to specify network code.\n\nHEXNGG\nNokia Group Graphic as (uploadable) hexcode.\n\nHEXNMP\nNokia Picture Message as (uploadable) hexcode.  Use option -txt  to  specify  optional\ntext message.\n\nNOL    Nokia  Operator Logo as .nol format. This is editable by the Group-Graphic Editor from\nKessler Wireless Design (www.kessler-design.com)\n\nNGG    Nokia Group Graphic as .ngg format. This is editable by the Group-Graphic Editor  from\nKessler Wireless Design (www.kessler-design.com)\n"
                },
                {
                    "name": "-net",
                    "content": "= D1,Germany).\n"
                },
                {
                    "name": "-txt",
                    "content": ""
                }
            ]
        },
        "LIMITATIONS": {
            "content": "Currently limited to rows<=255 and columns<=255. Supports only b/w graphics, not animated.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "pbm(5), Nokia Smart Messaging Specification (http://forum.nokia.com)\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Copyright (C) 2001 Tim Ruehsen <tim.ruehsen@openmediasystem.de>.\n\n\n\n26 June 2001                               pbmtonokia(1)",
            "subsections": []
        }
    },
    "summary": "pbmtonokia - convert a portable bitmap to Nokia Smart Messaging Formats",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "HEXNOL Nokia Operator Logo as (uploadable) hexcode. Use option -net to specify network code. HEXNGG Nokia Group Graphic as (uploadable) hexcode. HEXNMP 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)"
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "= D1,Germany)."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "pbm",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/pbm/5/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Convert a PBM image to one of Nokia's Smart Messaging Formats.",
        "examples": [
            {
                "description": "Convert a PBM image into a Nokia Operator Logo as hexcode",
                "command": "pbmtonokia {{-f|-fmt}} NEX_NOL -net {{network_operator_code}} {{path/to/image.pbm}} > {{path/to/output.hex}}"
            },
            {
                "description": "Convert a PBM image into a Nokia Group Graphic as hexcode",
                "command": "pbmtonokia {{-f|-fmt}} NEX_NGG {{path/to/image.pbm}} > {{path/to/output.hex}}"
            },
            {
                "description": "Convert a PBM image into a Nokia Picture Message with the specified text as hexcode",
                "command": "pbmtonokia {{-f|-fmt}} NEX_NPM -txt {{text_message}} {{path/to/image.pbm}} > {{path/to/output.hex}}"
            },
            {
                "description": "Convert a PBM image into a Nokia Operator Logo as a NOL file",
                "command": "pbmtonokia {{-f|-fmt}} NOL {{path/to/image.pbm}} > {{path/to/output.nol}}"
            },
            {
                "description": "Convert a PBM image into a Nokia Group Graphic as an NGG file",
                "command": "pbmtonokia {{-f|-fmt}} NGG {{path/to/image.pbm}} > {{path/to/output.ngg}}"
            },
            {
                "description": "Convert a PBM image into a Nokia Picture Message as an NPM file",
                "command": "pbmtonokia {{-f|-fmt}} NPM {{path/to/image.pbm}} > {{path/to/output.npm}}"
            }
        ]
    }
}