← Market

Pnm Sample Color Occupancy

Portable raster color occupancy counts distinct sample tuples and gives the modal tuple with its exact pixel count. Use it when an agent needs palette reuse in a portable raster.

POST https://bild.halowerk.com/v1/pnm-sample-color-occupancy

0.005 USDC on Base · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.005 USDC · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E · via cdp · settles direct
{
  "pnm": "P3\n# tile swatch\n3 2\n15\n0 0 0 15 0 0 0 15 0\n0 0 15 15 15 15 15 0 0"
}
{
  "data": {
    "distinct": 5,
    "modal": [
      15,
      0,
      0
    ],
    "pixels_at_mode": 2
  },
  "limitations": "One ASCII P2 or P3 raster, up to 8000 pixels. Measurements use the encoded sample values and zero-based offsets.",
  "measured_at": "2026-11-20T00:47:07.782Z",
  "source": {
    "reference": "Caller-supplied Netpbm raster (P2/P3)",
    "retrieved_at": "2026-11-20T00:47:07.782Z"
  }
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust scorepending / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

POST https://bild.halowerk.com/v1/pnm-sample-color-occupancy · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "pnm": {
      "type": "string",
      "maxLength": 45000,
      "minLength": 1
    }
  },
  "required": [
    "pnm"
  ],
  "additionalProperties": false
}
Output schema
{
  "type": "object"
}
curl -i -X POST 'https://bild.halowerk.com/v1/pnm-sample-color-occupancy' \
  -H 'content-type: application/json' -d '{"pnm":"P3\n# tile swatch\n3 2\n15\n0 0 0 15 0 0 0 15 0\n0 0 15 15 15 15 15 0 0"}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)