{
 "id": "portable-grey-map-ascii",
 "name": "Portable Grey Map - ASCII",
 "family": "netpbm-formats",
 "category": "other",
 "identifiers": {
  "extensions": [
   "pgma",
   "pgm",
   "pnm"
  ],
  "mime": [
   "image/x-portable-anymap",
   "image/x-portable-graymap"
  ],
  "puid": [
   "fmt/407"
  ],
  "wikidata": [
   "Q28206683"
  ],
  "magic": [
   {
    "offset": 0,
    "hex": "5032",
    "notes": "Portable Grey Map - ASCII"
   }
  ],
  "signatures": [
   {
    "name": "Portable Grey Map - ASCII",
    "sequences": [
     {
      "position": "bof",
      "offset": 0,
      "pattern": "5032(20|09|0d0a|0a)"
     },
     {
      "position": "eof",
      "offset": 0,
      "max_offset": 4,
      "pattern": "(30|31|32|33|34|35|36|37|38|39|20|0a|0d)(30|31|32|33|34|35|36|37|38|39|20|0a|0d)(30|31|32|33|34|35|36|37|38|39|20|0a|0d)(30|31|32|33|34|35|36|37|38|39|20|0a|0d)(30|31|32|33|34|35|36|37|38|39|20|0a|0d)(30|31|32|33|34|35|36|37|38|39|20|0a|0d)(30|31|32|33|34|35|36|37|38|39|20|0a|0d)(30|31|32|33|34|35|36|37|38|39|20|0a|0d)(30|31|32|33|34|35|36|37|38|39|20|0a|0d)(30|31|32|33|34|35|36|37|38|39|20|0a|0d)20"
     }
    ]
   }
  ]
 },
 "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": "ACD FotoCanvas Lite",
   "url": "https://www.wikidata.org/wiki/Q116994901",
   "reads": true,
   "writes": false
  },
  {
   "name": "ACDSee 5",
   "url": "https://www.wikidata.org/wiki/Q116957642",
   "reads": true,
   "writes": false
  },
  {
   "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": "GMS",
   "url": "http://aquaveo.com/software/gms-groundwater-modeling-system-introduction",
   "reads": true,
   "writes": false
  },
  {
   "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": "L3DT",
   "url": "http://www.bundysoft.com/L3DT/",
   "reads": true,
   "writes": true
  },
  {
   "name": "OpenJPEG",
   "url": "https://www.openjpeg.org",
   "reads": true,
   "writes": false,
   "license": "2-clause BSD License",
   "open_source": true
  },
  {
   "name": "PaintShop Photo Pro X3",
   "url": "https://www.wikidata.org/wiki/Q122675173",
   "reads": true,
   "writes": true
  },
  {
   "name": "Q108202177",
   "url": "https://vectormagic.com",
   "reads": true,
   "writes": false,
   "license": "proprietary license / shareware"
  },
  {
   "name": "VisAD",
   "url": "http://www.ssec.wisc.edu/~billh/visad.html",
   "reads": true,
   "writes": false
  },
  {
   "name": "Visualization Toolkit",
   "url": "http://www.vtk.org/",
   "reads": true,
   "writes": true,
   "license": "3-clause BSD License",
   "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": "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 fmt/407",
   "url": "https://www.nationalarchives.gov.uk/PRONOM/fmt/407",
   "kind": "format-doc"
  },
  {
   "name": "Wikidata Q28206683",
   "url": "https://www.wikidata.org/wiki/Q28206683",
   "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.pgm 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.pgm 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.pgm out.jpg",
   "fidelity": "lossy",
   "losses": "Lossy compression.",
   "url": "https://imagemagick.org"
  },
  {
   "to": "webp",
   "tool": "ImageMagick",
   "command": "convert in.pgm out.webp",
   "fidelity": "lossy",
   "losses": "Lossy compression.",
   "url": "https://imagemagick.org"
  },
  {
   "to": "gif",
   "tool": "ImageMagick",
   "command": "convert in.pgm out.gif",
   "fidelity": "lossy",
   "losses": "Reduced to 256 colours.",
   "url": "https://imagemagick.org"
  }
 ],
 "aliases": [],
 "structure": [],
 "parsers": [],
 "samples": [],
 "claims": [],
 "verification": []
}