Skip to content
HALOWERK

Image Processing

indexed png duplicate slots

PNG palette deduplication groups palette slots encoding the same RGBA value, including the transparency table. Use it when an agent needs redundant palette definitions.

POST https://bild.halowerk.com/v1/indexed-png-duplicate-slots

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
pngstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "png": {
      "type": "string",
      "maxLength": 64000,
      "minLength": 1
    }
  },
  "required": [
    "png"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "png": "iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAMAAACeL25MAAAAElBMVEUAAAASZZTpoBQbjEsbjEuWoKqG5LLQAAAABnRSTlMA//+AgP+Nc6qqAAAAGElEQVR4nGNgYGRkYGBkYmIEEswgJiMDAAC7ABLWpWFfAAAAAElFTkSuQmCC"
}

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": {
        "redundant_slots": {
          "type": "integer"
        },
        "groups": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "rgba": {
                "type": "string"
              },
              "indices": {
                "type": "array",
                "items": {
                  "type": "integer"
                }
              }
            },
            "required": [
              "rgba",
              "indices"
            ]
          }
        }
      },
      "required": [
        "redundant_slots",
        "groups"
      ]
    },
    "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

All endpoints in this hub →