Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

cms / cms fixed point error diffusion

An agent that exports a compact grayscale CMS image needs its supplied palette indices checked against deterministic integer error diffusion rather than independent pixel rounding.

POST https://detect.halowerk.com/v1/cms/cms-fixed-point-error-diffusion

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "width": {
          "type": "integer",
          "minimum": 1,
          "maximum": 64
        },
        "height": {
          "type": "integer",
          "minimum": 1,
          "maximum": 64
        },
        "pixels": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 255
          },
          "minItems": 1,
          "maxItems": 2048
        },
        "palette": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 255
          },
          "minItems": 1,
          "maxItems": 16
        },
        "claimed_indices": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 15
          },
          "minItems": 1,
          "maxItems": 2048
        }
      },
      "required": [
        "width",
        "height",
        "pixels",
        "palette",
        "claimed_indices"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "width": 2,
    "height": 1,
    "pixels": [
      64,
      192
    ],
    "palette": [
      0,
      255
    ],
    "claimed_indices": [
      0,
      1
    ]
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →