ap_read_image_file
Read exported ArmorPaint images from the server filesystem to view them locally, even while ArmorPaint is closed. Use with ap_export_textures to inspect exported PNG, JPEG, GIF, WEBP, or BMP files up to 6 MB.
Instructions
Read an image file from THIS server's filesystem and return it as an image, so you can look at what ArmorPaint exported. Answered locally — no round trip, and it works while ArmorPaint is closed. Pair it with ap_export_textures: export, then read one of the reported files. PNG/JPEG/GIF/WEBP/BMP only (EXR cannot be displayed), up to 6 MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Image file to read. Absolute path, forward slashes (backslashes are converted for you). | |
| max_bytes | No | Refuse files larger than this. Default and ceiling 6000000. |