ap_export_textures
Export all texture channels of the current ArmorPaint project to image files in a chosen directory, then get the list of written files for verification.
Instructions
Export the project's texture channels to real image files on disk — the only binding in ArmorPaint's plugin API that writes images to disk. Returns the files found in the target directory afterwards; feed one to ap_read_image_file to look at it. IMPORTANT LIMITS, none of which are settable from a plugin: 'directory' is a DIRECTORY, not a filename; the base filename comes from the last name used in ArmorPaint's own export dialog, falling back to 'untitled'; the channel suffixes come from the active export preset ('generic' is auto-selected on first use); and the format/bit depth is whatever the UI is set to (8-bit PNG by default).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | Output directory. Absolute path, forward slashes (backslashes are converted for you). |