-
-
Save blitline-dev/58d9007c1a7c304c254b to your computer and use it in GitHub Desktop.
imagge_example_2
This file contains 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://img.blitline.s3.amazonaws.com/samples/lady_water.jpg", | |
"functions":[ | |
{ | |
"name":"resize_to_fit", | |
"params":{ | |
"width":400 | |
}, | |
"save":{ | |
"image_identifier":"ORIG" | |
}, | |
"functions":[ | |
{ | |
"name":"imagga_smart_crop", | |
"params":{ | |
"resolution":"150x150", | |
"no_scaling":0 | |
}, | |
"save":{ | |
"image_identifier":"MY_CLIENT_ID" | |
} | |
}, | |
{ | |
"name":"imagga_smart_crop", | |
"params":{ | |
"resolution":"175x90", | |
"no_scaling":0 | |
}, | |
"save":{ | |
"quality":99, | |
"image_identifier":"MY_CLIENT_ID2" | |
} | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment