← Back to directory

Portable raster exact depth reduction finds the smallest positive PNM maxval tha...

https://bild.halowerk.com/v1/pnm-sample-minimal-exact-maxval

Overview

Portable raster exact depth reduction finds the smallest positive PNM maxval that preserves every normalized sample fraction. Use it when an agent needs lossless integer rescaling of sample values.

Protocol x402 (POST)
Price $0.0050
Payment Asset USD Coin
Payment Network Base
Category uncategorized
Provider bild
Source bazaar
Indexed 2026-11-20 06:12:06

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "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" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "data": { "divisor": 15, "minimal_max": 1, "source_max": 15 }, "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.789Z", "source": { "reference": "Caller-supplied Netpbm raster (P2/P3)", "retrieved_at": "2026-11-20T00:47:07.789Z" } }, "type": "json" }