Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 04 / pdf packed device image decode colorkey softmask matte rgba

Reconstruct normalized RGBA samples from packed PDF Gray/RGB image rows and masks.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-04/pdf-packed-device-image-decode-colorkey-softmask-matte-rgba

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "pdfImageRgba"
      ],
      "properties": {
        "pdfImageRgba": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "width",
                "height",
                "components",
                "bits_per_component",
                "samples",
                "decode",
                "mask"
              ],
              "properties": {
                "width": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 32
                },
                "height": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 32
                },
                "components": {
                  "enum": [
                    1,
                    3
                  ]
                },
                "bits_per_component": {
                  "enum": [
                    1,
                    2,
                    4,
                    8
                  ]
                },
                "samples": {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 255
                  },
                  "maxItems": 3072,
                  "minItems": 1
                },
                "decode": {
                  "type": "array",
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "number",
                      "minimum": -1000000,
                      "maximum": 1000000
                    },
                    "maxItems": 2,
                    "minItems": 2
                  },
                  "maxItems": 3,
                  "minItems": 1
                },
                "mask": {
                  "anyOf": [
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "kind": {
                          "const": "none"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "ranges"
                      ],
                      "properties": {
                        "kind": {
                          "const": "color_key"
                        },
                        "ranges": {
                          "type": "array",
                          "items": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 255
                            },
                            "maxItems": 2,
                            "minItems": 2
                          },
                          "maxItems": 3,
                          "minItems": 1
                        }
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "alpha",
                        "matte"
                      ],
                      "properties": {
                        "kind": {
                          "const": "soft"
                        },
                        "alpha": {
                          "type": "array",
                          "items": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 1
                          },
                          "maxItems": 1024,
                          "minItems": 1
                        },
                        "matte": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "type": "array",
                              "items": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 1
                              },
                              "maxItems": 3,
                              "minItems": 1
                            }
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "height",
                    "pixels",
                    "width"
                  ],
                  "properties": {
                    "height": {
                      "type": "number",
                      "minimum": -1000000000000,
                      "maximum": 1000000000000
                    },
                    "pixels": {
                      "type": "array",
                      "maxItems": 4096,
                      "items": {
                        "type": "array",
                        "maxItems": 4096,
                        "items": {
                          "type": "number",
                          "minimum": -1000000000000,
                          "maximum": 1000000000000
                        }
                      }
                    },
                    "width": {
                      "type": "number",
                      "minimum": -1000000000000,
                      "maximum": 1000000000000
                    }
                  }
                }
              ]
            }
          }
        }
      }
    }
  }
}

Originalschema öffnen

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 →