With Publitio API you can easily transcode your files between formats. Supported extensions (output formats) are:
For images please use jpg, jpeg, png, gif, bmp, webp as extension. You can also transcode images to mp4, webm and ogv video formats ;)
For videos use mp4, webm and ogv. You can also transcode videos to jpg, jpeg, png, gif and webp image formats. We also support video to mp3, wav and ogg audio formats :D