Adapt Image For Cocos
asset_forge_adapt_imageConvert an existing image into a transparent PNG ready for Cocos Creator assets.
Instructions
Convert an existing image into a Cocos-ready transparent PNG.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable asset name. Used for file names after slugification. | |
| inputPath | Yes | ||
| outputDir | No | Directory where generated files should be written. Defaults to server config. | |
| postprocess | No |