Image PNM to Grayscale
Converts a base64 portable anymap image from exact P3 RGB values into deterministic P2 grayscale output.
Run tool
Form input
Direct JSON or Markdown
Submit JSON directly or Markdown that can be converted into JSON.
Work steps
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
base64 | base64 | Yes | Base64 P3 or P2 image |
Outputs
| Name | Type | Description |
|---|---|---|
format | text | Format |
base64 | base64 | Base64 grayscale image |
work | array | Work |
Sample request
{
"base64": "data:image/x-portable-anymap;base64,UDMKMiAyCjI1NQoyNTUgMCAwICAwIDI1NSAwICAwIDAgMjU1ICAyNTUgMjU1IDI1NQo="
}