Skip to content

Instantly share code, notes, and snippets.

@blitline-dev
Created December 28, 2012 18:10
Show Gist options
  • Save blitline-dev/4400403 to your computer and use it in GitHub Desktop.
Save blitline-dev/4400403 to your computer and use it in GitHub Desktop.
Watermark Json
{
"application_id":"MY_APP_ID",
"src":"http://cdn.blitline.com/filters/boys.jpeg",
"functions":[
{
"name":"line",
"params":{"x" : 10, "y" : 10, "x1": 100, "y1":100, "width" : 4, "opacity" : 0.5},
"functions":[
{
"name":"line",
"params":{"x" : 710, "y" : 10, "x1": 610, "y1":100, "width" : 4, "opacity" : 0.5},
"functions":[
{
"name":"line",
"params":{"x" : 10, "y" : 530, "x1": 100, "y1":430, "width" : 4, "opacity" : 0.5},
"functions":[
{
"name":"line",
"params":{"x" : 710, "y" : 530, "x1": 610, "y1":430, "width" : 4, "opacity" : 0.5},
"functions":[
{
"name":"watermark",
"params":{ "text" : "Blitline!"},
"save":{
"image_identifier":"MY_CLIENT_ID"
}
}]
}]
}]
}]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment