Skip to content

Instantly share code, notes, and snippets.

@blitline-dev
Last active December 14, 2016 17:29
Show Gist options
  • Save blitline-dev/5239249 to your computer and use it in GitHub Desktop.
Save blitline-dev/5239249 to your computer and use it in GitHub Desktop.
Complex CSS text with image overlay
{
"application_id":"YOUR_APP_ID",
"src":"https://s3.amazonaws.com/img.blitline/Boston+City+Flow.jpg",
"pre_process":[
{
"job":{
"src":"https://s3.amazonaws.com/web.blitline/css_text.html",
"src_type":"screen_shot_url",
"src_data" : {"delay" : 0},
"functions":[
{
"name":"no_op",
"save":{
"image_identifier":"MY_TEXT"
}
}
]
}
}
],
"functions":[
{
"name":"composite",
"params":{
"src":"&MY_TEXT",
"gravity":"NorthGravity"
},
"save":{
"image_identifier":"external_sample_2",
"extension":"png"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment