{
 "id": "portable-bitmap-image-ascii",
 "name": "Portable Bitmap Image - ASCII",
 "family": "netpbm-formats",
 "category": "image",
 "identifiers": {
  "extensions": [
   "pbm",
   "pnm"
  ],
  "mime": [
   "image/x-portable-bitmap",
   "image/x-portable-anymap"
  ],
  "puid": [
   "x-fmt/164"
  ],
  "wikidata": [
   "Q28206671"
  ],
  "magic": [
   {
    "offset": 0,
    "hex": "5031",
    "notes": "Portable Bitmap Image - ASCII"
   }
  ],
  "signatures": [
   {
    "name": "Portable Bitmap Image - ASCII",
    "sequences": [
     {
      "position": "bof",
      "offset": 0,
      "pattern": "5031(20|09|0d0a|0a)"
     },
     {
      "position": "eof",
      "offset": 0,
      "max_offset": 70,
      "pattern": "(30|31|20|0a|0d)(30|31|20|0a|0d)(30|31|20|0a|0d)(30|31|20|0a|0d)(30|31|20|0a|0d)(30|31|20|0a|0d)(30|31|20|0a|0d)(30|31|20|0a|0d)(30|31|20|0a|0d)(30|31|20|0a|0d)0a"
     }
    ]
   }
  ]
 },
 "status": "writable",
 "summary": "This is an outline record only, and requires further details, research or authentication to provide information that will enable users to further understand the format and to assess digital preservation risks associated with it if appropriate. If you are able to help by supplying any additional information concerning this entry, please return to the main PRONOM page and select ‘Add an Entry’.",
 "tools": [
  {
   "name": "ImageMagick",
   "url": "https://imagemagick.org",
   "license": "ImageMagick License",
   "open_source": true,
   "reads": true,
   "writes": true
  },
  {
   "name": "Abydos",
   "url": "https://www.wikidata.org/wiki/Q133445760",
   "reads": true,
   "writes": false,
   "license": "GNU Lesser General Public License",
   "open_source": true
  },
  {
   "name": "Axialis IconWorkshop",
   "url": "http://www.axialis.com/iconworkshop/",
   "reads": true,
   "writes": true
  },
  {
   "name": "ExifTool",
   "url": "https://exiftool.org/",
   "reads": true,
   "writes": false,
   "license": "Artistic License / GNU General Public License, version 1.0 or later",
   "open_source": true
  },
  {
   "name": "GIMP",
   "url": "https://gimp.org",
   "reads": true,
   "writes": true,
   "license": "GNU General Public License, version 3.0",
   "open_source": true
  },
  {
   "name": "Hijaak Digital Photo Studio",
   "url": "https://www.wikidata.org/wiki/Q117814372",
   "reads": true,
   "writes": true
  },
  {
   "name": "IrfanView",
   "url": "https://www.irfanview.com/",
   "reads": true,
   "writes": true,
   "license": "freeware"
  },
  {
   "name": "MayaVi",
   "url": "http://docs.enthought.com/mayavi/mayavi/",
   "reads": true,
   "writes": false,
   "license": "BSD licenses",
   "open_source": true
  },
  {
   "name": "PaintShop Photo Pro X3",
   "url": "https://www.wikidata.org/wiki/Q122675173",
   "reads": true,
   "writes": true
  },
  {
   "name": "PLplot",
   "url": "http://plplot.sourceforge.net/",
   "reads": false,
   "writes": true,
   "license": "GNU Library General Public License, version 2.0 or later",
   "open_source": true
  },
  {
   "name": "ABViewer",
   "url": "https://cadsofttools.com/products/abviewer/",
   "reads": true,
   "writes": false,
   "via": "netpbm-formats"
  },
  {
   "name": "Converseen",
   "url": "https://converseen.fasterland.net/",
   "reads": true,
   "writes": false,
   "license": "GNU General Public License, version 3.0",
   "open_source": true,
   "via": "netpbm-formats"
  },
  {
   "name": "DevIL",
   "url": "http://openil.sourceforge.net/",
   "reads": true,
   "writes": true,
   "license": "GNU Lesser General Public License, version 2.1",
   "open_source": true,
   "via": "netpbm-formats"
  },
  {
   "name": "F-Spot",
   "url": "https://www.wikidata.org/wiki/Q948619",
   "reads": true,
   "writes": false,
   "license": "GNU General Public License / MIT License",
   "open_source": true,
   "via": "netpbm-formats"
  },
  {
   "name": "GDAL",
   "url": "https://gdal.org",
   "reads": true,
   "writes": true,
   "license": "MIT License",
   "open_source": true,
   "via": "netpbm-formats"
  },
  {
   "name": "GIMP 2.0.2",
   "url": "https://www.wikidata.org/wiki/Q64739349",
   "reads": true,
   "writes": true,
   "via": "netpbm-formats"
  },
  {
   "name": "GNU Ocrad",
   "url": "https://www.gnu.org/software/ocrad/",
   "reads": true,
   "writes": false,
   "license": "GNU General Public License, version 2.0 or later",
   "open_source": true,
   "via": "netpbm-formats"
  },
  {
   "name": "Image Alchemy",
   "url": "https://www.wikidata.org/wiki/Q28205547",
   "reads": true,
   "writes": false,
   "via": "netpbm-formats"
  },
  {
   "name": "JavaView",
   "url": "http://www.javaview.de/",
   "reads": false,
   "writes": true,
   "via": "netpbm-formats"
  },
  {
   "name": "Kakadu",
   "url": "http://www.kakadusoftware.com/",
   "reads": true,
   "writes": false,
   "via": "netpbm-formats"
  },
  {
   "name": "LibreOffice Draw",
   "url": "https://www.libreoffice.org/discover/draw/",
   "reads": true,
   "writes": false,
   "license": "Mozilla Public License, version 2.0",
   "open_source": true,
   "via": "netpbm-formats"
  },
  {
   "name": "Mathematica",
   "url": "https://www.wolfram.com/mathematica/",
   "reads": true,
   "writes": true,
   "license": "proprietary license",
   "via": "netpbm-formats"
  },
  {
   "name": "MediaRich Server",
   "url": "https://equilibrium.com/mediarichserver/",
   "reads": true,
   "writes": false,
   "via": "netpbm-formats"
  },
  {
   "name": "Netpbm",
   "url": "http://netpbm.sourceforge.net/",
   "reads": true,
   "writes": true,
   "license": "GNU General Public License, version 2.0",
   "open_source": true,
   "via": "netpbm-formats"
  },
  {
   "name": "OpenJPEG",
   "url": "https://www.openjpeg.org",
   "reads": true,
   "writes": false,
   "license": "2-clause BSD License",
   "open_source": true,
   "via": "netpbm-formats"
  },
  {
   "name": "OutGuess",
   "url": "https://www.wikidata.org/wiki/Q66671819",
   "reads": false,
   "writes": true,
   "license": "4-clause BSD License",
   "open_source": true,
   "via": "netpbm-formats"
  },
  {
   "name": "PaintShop Pro X4",
   "url": "https://www.wikidata.org/wiki/Q110977057",
   "reads": true,
   "writes": true,
   "via": "netpbm-formats"
  },
  {
   "name": "PaintShop Pro X6 Ultimate",
   "url": "https://www.wikidata.org/wiki/Q113679458",
   "reads": true,
   "writes": false,
   "via": "netpbm-formats"
  },
  {
   "name": "Photopea",
   "url": "https://www.photopea.com/",
   "reads": true,
   "writes": false,
   "via": "netpbm-formats"
  },
  {
   "name": "PicaJet",
   "url": "http://picajet.com/",
   "reads": true,
   "writes": false,
   "license": "freeware",
   "via": "netpbm-formats"
  },
  {
   "name": "PuriFile",
   "url": "https://purifile.com",
   "reads": true,
   "writes": false,
   "via": "netpbm-formats"
  },
  {
   "name": "Q122459461",
   "url": "https://www.wikidata.org/wiki/Q122459461",
   "reads": false,
   "writes": true,
   "via": "netpbm-formats"
  },
  {
   "name": "Q122522973",
   "url": "https://www.wikidata.org/wiki/Q122522973",
   "reads": true,
   "writes": false,
   "via": "netpbm-formats"
  },
  {
   "name": "Q130252332",
   "url": "https://sorairolake.github.io/qrtool/",
   "reads": true,
   "writes": false,
   "license": "Apache Software License 2.0 / Creative Commons Attribution 4.0 International / MIT License",
   "open_source": true,
   "via": "netpbm-formats"
  },
  {
   "name": "Q141647655",
   "url": "https://getartcraft.com/apps/photocraft",
   "reads": true,
   "writes": true,
   "license": "Apache Software License 2.0 / MIT License",
   "open_source": true,
   "via": "netpbm-formats"
  },
  {
   "name": "SimThyr",
   "url": "http://simthyr.sourceforge.net",
   "reads": false,
   "writes": true,
   "license": "BSD licenses",
   "open_source": true,
   "via": "netpbm-formats"
  },
  {
   "name": "VideoStudio X7",
   "url": "https://www.wikidata.org/wiki/Q113644652",
   "reads": true,
   "writes": false,
   "via": "netpbm-formats"
  },
  {
   "name": "VYM",
   "url": "https://www.insilmaril.de/vym/",
   "reads": true,
   "writes": false,
   "license": "GNU General Public License, version 2.0",
   "open_source": true,
   "via": "netpbm-formats"
  },
  {
   "name": "zgv",
   "url": "http://www.svgalib.org/rus/zgv/",
   "reads": true,
   "writes": false,
   "license": "GNU General Public License",
   "open_source": true,
   "via": "netpbm-formats"
  },
  {
   "name": "Zoner Photo Studio",
   "url": "http://www.zoner.com",
   "reads": true,
   "writes": true,
   "via": "netpbm-formats"
  }
 ],
 "projects": [
  {
   "name": "PRONOM x-fmt/164",
   "url": "https://www.nationalarchives.gov.uk/PRONOM/x-fmt/164",
   "kind": "format-doc"
  },
  {
   "name": "Wikidata Q28206671",
   "url": "https://www.wikidata.org/wiki/Q28206671",
   "kind": "wiki"
  },
  {
   "name": "File Formats Wiki",
   "url": "http://fileformats.archiveteam.org/wiki/Netpbm_formats",
   "kind": "wiki"
  }
 ],
 "provenance": {
  "sources": [
   "converters",
   "pronom",
   "wikidata"
  ]
 },
 "updated": "2026-10-20",
 "conversions": [
  {
   "to": "portable-network-graphics",
   "tool": "ImageMagick",
   "command": "convert in.pbm out.png",
   "fidelity": "lossless",
   "losses": "Pixels kept; some metadata, colour profiles or layers may be dropped.",
   "url": "https://imagemagick.org"
  },
  {
   "to": "tagged-image-file-format",
   "tool": "ImageMagick",
   "command": "convert in.pbm out.tif",
   "fidelity": "lossless",
   "losses": "Pixels kept; some metadata, colour profiles or layers may be dropped.",
   "url": "https://imagemagick.org"
  },
  {
   "to": "jpeg-file-interchange-format-1-02",
   "tool": "ImageMagick",
   "command": "convert in.pbm out.jpg",
   "fidelity": "lossy",
   "losses": "Lossy compression.",
   "url": "https://imagemagick.org"
  },
  {
   "to": "webp",
   "tool": "ImageMagick",
   "command": "convert in.pbm out.webp",
   "fidelity": "lossy",
   "losses": "Lossy compression.",
   "url": "https://imagemagick.org"
  },
  {
   "to": "gif",
   "tool": "ImageMagick",
   "command": "convert in.pbm out.gif",
   "fidelity": "lossy",
   "losses": "Reduced to 256 colours.",
   "url": "https://imagemagick.org"
  }
 ],
 "aliases": [],
 "structure": [],
 "parsers": [],
 "samples": [],
 "claims": [],
 "verification": []
}