$setThreshold
Sets if the color table should be reused if current frame matches previous frame.
Usage
$setThreshold[gif;percentage]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| gif | String | Name of the GIF. | True |
| percentage | Number | Threshold percentage. | True |
Example(s)
No examples for this function.

Raw Info
{ "name": "$setThreshold", "description": "Sets if the color table should be reused if current frame matches previous frame.", "params": [ { "name": "gif", "description": "Name of the GIF.", "type": "String", "required": true }, { "name": "percentage", "description": "Threshold percentage.", "type": "Number", "required": true } ], "usage": "$setThreshold[gif;percentage]", "category": "gif", "src": "https://github.com/devlordduck/aoi.canvas/tree/v2/src/functions/gif/setThreshold.ts", "docs": "https://aoicanvas.vercel.app/functions/setthreshold"}