Skip to content

$setThreshold

Sets if the color table should be reused if current frame matches previous frame.

Usage

$setThreshold[gif;percentage]

Parameters

FieldTypeDescriptionRequired
gifStringName of the GIF.True
percentageNumberThreshold percentage.True

Example(s)

No examples for this function.

meow

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"
}