-
-
Save blitline-dev/5e02a60ef16adc8ea4364ddc8ada2352 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", | |
"pre_process": [ | |
{ | |
"job": { | |
"src": { | |
"name": "canvas", | |
"height": "1200", | |
"width": "1600", | |
"color": "#ffffff00" | |
}, | |
"functions": [ | |
{ | |
"name":"smart_diagonal_watermark", | |
"params":{ | |
"text" : "Warner Bros", | |
"scale" : 0.9, | |
"forward" : true, | |
"dropshadow_color": "#111111" | |
}, | |
"save":{ | |
"image_identifier":"MY_CANVAS_WITH_TEXT" | |
} | |
} | |
] | |
} | |
} | |
], | |
"functions": [ | |
{ | |
"name": "watermark_tiled", | |
"params": { | |
"src": "&MY_CANVAS_WITH_TEXT", | |
"offset_x": -30, | |
"offset_y": -30, | |
"scale_src": 0.2, | |
"opacity": 0.9, | |
"padding": 20, | |
"fill": false | |
}, | |
"save": { | |
"image_identifier": "480" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment