GIF to GIF API
The API for converting JPG, PNG, and GIF images to single and animated GIF files.
File
Files to be converted. Value can be URL or file content. If used in query or multipart content parameter must be suffixed with index e.g. Files[0], Files[1], Files[2]...
Bool
Scale the output image. If ScaleImage is False output document will be stripped to ImageHeight / ImageWidth, if ScalePage is True output document will be scaled to ImageHeight / ImageWidth.
Default: False
Show all
Bool
Specifies whether the image parser should use image interpolation. Enabling image interpolation will result in higher quality for scaled images at the expense of speed.
Default: False
Show all
Bool
Read animation values AnimationIterations and AnimationDelay from GIF file. Only works if GIF file is added to file list.
Default: True
Show all
Integer
Animation delay in milliseconds before playing the next image in an animated sequence.
Default: 100
Range: 0 .. 20000
Show all
Integer
Set the number of iterations to loop an animation. Zero is infinity.
Default: 0
Range: 0 .. 1000
Show allSnippets are autogenerated according to converter parameter choices above. Please select file in "File" or "Files" parameter before using code snippets.
Code snippet is using ConvertAPI JavaScript Client
Code snippet is using ConvertAPI Node.js Client
Code snippet is using ConvertAPI PHP Client
Code snippet is using ConvertAPI Java Client
Code snippet is using ConvertAPI C# Client
Code snippet is using ConvertAPI Ruby Client
Code snippet is using ConvertAPI Python Client
Code snippet is using ConvertAPI Go Client
Code snippet is using command line utility program
For conversions with the multiple file result please refer to the example