Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (21 sloc) 666 Bytes
# Composite a static image on top of a GIF.
# If you want to composite multiple images, then use the `merge` command instead.
import requests
import json
gif = ''
# Static images to be displayed starting from frame 5
static = ''
req = requests.get('',params={
'img': gif,
'composite': static,
'frame': 5, # Display the result starting from frame number 5
reply = req.json()
if reply['status'] != 200:
print (reply['error'])
print ("GIF location: "+ reply['link'])