Skip to content

Instantly share code, notes, and snippets.

@blitline-dev
Created May 13, 2012 05:59
Show Gist options
  • Save blitline-dev/2686385 to your computer and use it in GitHub Desktop.
Save blitline-dev/2686385 to your computer and use it in GitHub Desktop.
Pad resize to fit
{
"application_id":"YOUR_APP_ID",
"src":"http://cdn.blitline.com/filters/boys.jpeg",
"functions":[
{
"name":"pad_resize_to_fit",
"params":{
"width": "600",
"height":"400",
"color":"#aa0000",
"gravity": "WestGravity"
},
"save":{
"image_identifier":"MY_CLIENT_ID"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment