Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 860 Bytes

MODIFY_IMAGE.md

File metadata and controls

35 lines (27 loc) · 860 Bytes

Action: MODIFY_IMAGE

The MODIFY_IMAGE action modifies an image.

This action is valid for use in the Generate block.

Parameters:

Property Type Valid values Description
ImageName string Any loaded image name The name of the image to modify
Properties Object An object with properties The properties to modify

Example

Making an image grayscale:

{
	...
	"Generate": {
		"Actions": [
			{
				"ActionType": "MODIFY_IMAGE",
				"ImageName": "image1",
				"Properties": {
					"Grayscale": true
				}
			}
		]
	},
	...
}