Image Processing
indexed png nearest opaque swatch
PNG palette matching finds the closest fully opaque palette entry by squared distance in encoded RGB bytes. Use it when an agent needs a deterministic solid-colour substitution.
POST https://bild.halowerk.com/v1/indexed-png-nearest-opaque-swatchInputs
| Field | Type | Required | Description |
|---|---|---|---|
| png | string | Yes | |
| color | string | Yes |
Show full input schema
{
"type": "object",
"properties": {
"png": {
"type": "string",
"maxLength": 64000,
"minLength": 1
},
"color": {
"type": "string",
"pattern": "^#?[0-9a-fA-F]{6}$"
}
},
"required": [
"png",
"color"
],
"additionalProperties": false
}Published input example
{
"png": "iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAMAAACeL25MAAAAElBMVEUAAAASZZTpoBQbjEsbjEuWoKqG5LLQAAAABnRSTlMA//+AgP+Nc6qqAAAAGElEQVR4nGNgYGRkYGBkYmIEEswgJiMDAAC7ABLWpWFfAAAAAElFTkSuQmCC",
"color": "#116699"
}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": {
"index": {
"type": [
"integer",
"null"
]
},
"rgb": {
"type": [
"string",
"null"
]
},
"squared_distance": {
"type": [
"integer",
"null"
]
}
},
"required": [
"index",
"rgb",
"squared_distance"
]
},
"limitations": {
"type": "string"
}
}
}Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-20 UTC.
More endpoints in this hub
- Image Processing0.01 USDC
address plate blur
POSThttps://bild.halowerk.com/v1/address-plate-blurThe photo is read with Tesseract 5.3.4 (German + English, word boxes) at two scales and in sparse-text and block mode; small bright plaques with 1–5 dark characters (typical house-number signs) are additionally cut out and read one by one,
- Image Processing0.003 USDC
ai disclosure metadata
POSThttps://bild.halowerk.com/v1/ai-disclosure-metadataChecks JPEG, PNG and WebP files for AI disclosure metadata: XMP DigitalSourceType and the IPTC Photo Metadata 2025.1 AI fields, C2PA/JUMBF stores (signatures are not validated), PNG text chunks and EXIF Software/UserComment, and returns a s
- Image Processing0.008 USDC
animation to video
POSThttps://bild.halowerk.com/v1/animation-to-videoReads frame count, size, loop count and total duration from the file structure, then encodes with ffmpeg 6.1 in a child process under prlimit (no shell, empty environment, only the file protocol): GIF and APNG are demuxed natively, animated