19 June 2018 - Animated GIF output
over 6 years ago by Encoding.com Product Team
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<!-- Format fields -->
<output>gif</output>
<interval>[Interval]</interval>
<loop>[LoopsCount]</loop>
<colors>[ColorsCount]</colors>
<dither>[DitherMode]</dither>
<!-- Destination fields -->
<destination>[DestFile]</destination>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"output": "gif",
"interval": "[Interval]",
"loop": "[LoopsCount]",
"colors": "[ColorsCount]",
"dither": "[DitherMode]",
"destination": "[DestFile]"
}
}
}
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
interval | Delay between frames in hundredths of a second | positive integer number | 10 |
loop | Loops count | integer number -1 - infinite loop 0 - no loop | 0 |
colors | Number of colors | integer number between 4 and 255 (including) | 128 |
dither | Dithering mode | bayer, heckbert, floyd_steinberg, sierra2, sierra2_4a | sierra2_4a |