Last active
August 29, 2015 14:01
-
-
Save blitline-dev/9677005909d344cc18ee to your computer and use it in GitHub Desktop.
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://cdn.blitline.com/filters/boys.jpeg", | |
"functions": [ | |
{ | |
"name": "script", | |
"params": { | |
"bash_string": "convert input.png -set comment 'geometry:%g\ntrim bounding box:%@\nx offset:%x\ny offset:%y\nfile:%t' -trim -scale '160x160>' -gravity center -extent '160x160>' -quality 90 -profile sRGB.icc +profile 'xmp' +profile 'iptc' output.png" | |
}, | |
"save": { | |
"extension": ".jpg", | |
"save_metadata" : true, | |
"save_profiles" : true, | |
"image_identifier": "MY_CLIENT_ID" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment