Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

integration / api apng frame composition

Already decoded APNG frame samples against claimed output canvases

POST https://detect.halowerk.com/v1/integration/api-apng-frame-composition

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "apng_contract": {
          "type": "object",
          "description": "Already decoded RGBA rectangles,canvas snapshots,SOURCE/OVER and NONE/BACKGROUND/PREVIOUS disposal. No novelty credit for old stateless alpha arithmetic.",
          "additionalProperties": true
        }
      },
      "required": [
        "apng_contract"
      ],
      "additionalProperties": true
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "apng_contract": {
      "canvas_size": [
        1,
        1
      ],
      "decoded_frames": [
        {
          "x": 0,
          "y": 0,
          "width": 1,
          "height": 1,
          "rgba": [
            [
              0.023255813953488372,
              0,
              0,
              1
            ]
          ],
          "blend": "source",
          "dispose": "none"
        },
        {
          "x": 0,
          "y": 0,
          "width": 1,
          "height": 1,
          "rgba": [
            [
              0,
              0,
              1,
              0.5
            ]
          ],
          "blend": "over",
          "dispose": "background"
        },
        {
          "x": 0,
          "y": 0,
          "width": 1,
          "height": 1,
          "rgba": [
            [
              0,
              0,
              0,
              0
            ]
          ],
          "blend": "over",
          "dispose": "none"
        }
      ],
      "claimed_canvases": [
        [
          [
            0.023255813953488372,
            0,
            0,
            1
          ]
        ],
        [
          [
            0.11162790697674418,
            0,
            0.5,
            1
          ]
        ],
        [
          [
            0,
            0,
            0,
            0
          ]
        ]
      ],
      "tolerance": 1e-08
    }
  }
}

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 →