Created
August 1, 2014 23:50
-
-
Save blitline-dev/28e3d5dcb0f1123552f9 to your computer and use it in GitHub Desktop.
scale_to_fit_example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"application_id": "YOUR_APP_ID", | |
"src": "http://cdn.blitline.com/filters/boys.jpeg", | |
"functions": [ | |
{ | |
"name": "composite", | |
"params": { | |
"src": "https://s3.amazonaws.com/img.blitline/my_logo.png", | |
"gravity": "SouthWestGravity", | |
"scale_to_fit": { | |
"width" : "20%" | |
}, | |
"x" : 50, | |
"y" : 50 | |
}, | |
"save": { | |
"image_identifier": "MY_CLIENT_ID" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment