Pnm Sample Quantization Error
Portable raster quantization predicts the maximum and RMS round-trip sample error after conversion to a chosen target maxval. Use it when an agent needs precision loss before reducing sample depth.
POST https://bild.halowerk.com/v1/pnm-sample-quantization-error
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
{
"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": {
"changed_samples": 0,
"max_error": 0,
"rms_error": 0
},
"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.774Z",
"source": {
"reference": "Caller-supplied Netpbm raster (P2/P3)",
"retrieved_at": "2026-11-20T00:47:07.774Z"
}
}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 score | pending / 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-quantization-error · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"pnm": {
"type": "string",
"maxLength": 45000,
"minLength": 1
},
"target_max": {
"type": "integer",
"minimum": 1,
"maximum": 65535
}
},
"required": [
"pnm"
],
"additionalProperties": false
}Output schema
{
"type": "object"
}curl -i -X POST 'https://bild.halowerk.com/v1/pnm-sample-quantization-error' \
-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