Skip to content

Instantly share code, notes, and snippets.

@blitline-dev
Created December 28, 2012 18:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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