Skip to content
HALOWERK

File Formats and Conversion

pbm mask overlay difference

PBM overlay comparison counts newly covered and removed pixels between equal-size masks. Use it when an agent needs checking a revised monochrome asset.

POST https://format.halowerk.com/v1/pbm-mask-overlay-difference

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
pbmstringYes
otherstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "pbm": {
      "type": "string",
      "maxLength": 60000,
      "minLength": 1
    },
    "other": {
      "type": "string",
      "maxLength": 60000,
      "minLength": 1
    }
  },
  "required": [
    "pbm",
    "other"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "pbm": "UDQKNyAxMQpgYAAAAAAAAAAAAA==",
  "other": "UDQKNyAxMQpgYABgYAAAAAAAAA=="
}

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": {
        "added": {
          "type": "integer"
        },
        "removed": {
          "type": "integer"
        },
        "shared": {
          "type": "integer"
        }
      },
      "required": [
        "added",
        "removed",
        "shared"
      ]
    },
    "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 โ†’