Skip to content

Instantly share code, notes, and snippets.

@blitline-dev
Created February 27, 2013 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blitline-dev/5051089 to your computer and use it in GitHub Desktop.
Save blitline-dev/5051089 to your computer and use it in GitHub Desktop.
Example of pre_process with resize_gif or resize_git_to_fit
{
"application_id":"YOUR_APP_ID",
"src":"https://s3.amazonaws.com/img.blitline/nyan.gif",
"pre_process":{
"resize_gif":{
"params":{
"width":300,
"height":300
},
"s3_destination":{
"bucket":"bltemp",
"key":"grumpy_squirrel/out/600.gif"
}
}
},
"functions":[
{
"name":"no_op",
"save":{
"image_identifier":"MY_CLIENT_ID"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment