Skip to content
HALOWERK

Image Processing

raster foreground dilation budget

Raster mask dilation budget: return how many additional pixels a single four-neighbor expansion would cover. Use it when an agent needs to estimate a one-pixel safety margin for an icon.

POST https://bild.halowerk.com/v1/raster-foreground-dilation-budget

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
imagestringYes
alphaintegerNo
Show full input schema
{
  "type": "object",
  "properties": {
    "image": {
      "type": "string",
      "maxLength": 34000
    },
    "alpha": {
      "type": "integer",
      "minimum": 1,
      "maximum": 255
    }
  },
  "required": [
    "image"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "image": "iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAKUlEQVR4nGNgIAXIRa3+LxS6IgGvAgxFMEFsGK8CrFah6MTlBpJ8BQIACd4s1Aujus8AAAAASUVORK5CYII="
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-19 UTC.

More endpoints in this hub

All endpoints in this hub →