Skip to content
HALOWERK

File Formats and Conversion

pbm mask press area

PBM physical print coverage converts black pixel count into square millimetres at the specified DPI. Use it when an agent needs estimating solid ink area at output resolution.

POST https://format.halowerk.com/v1/pbm-mask-press-area

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
pbmstringYes
dpiintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "pbm": {
      "type": "string",
      "maxLength": 60000,
      "minLength": 1
    },
    "dpi": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10000
    }
  },
  "required": [
    "pbm",
    "dpi"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "pbm": "UDQKNyAxMQpgYAAAAAAAAAAAAA==",
  "dpi": 300
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "ink_mm2": {
          "type": "number"
        },
        "paper_mm2": {
          "type": "number"
        }
      },
      "required": [
        "ink_mm2",
        "paper_mm2"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’