image.img:save_to_png_file
Declaration
lua
img:save_to_png_file(path)
Description
Save image as PNG file.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | Required | — | Output path (resolved) |
Return Values
| Type | Description |
|---|---|
| boolean |
Example
lua
img:save_to_png_file("output.png")