Skip to content

Instantly share code, notes, and snippets.

View blitline-dev's full-sized avatar

Blitline Developers blitline-dev

View GitHub Profile
{
"application_id": "YOUR_APP_ID",
"src": "https://s3.amazonaws.com/img.blitline/vector/Free-Abstract-Shapes-Vectors.ai",
"src_data": {
"density": 100,
"colorspace": "cmyk"
},
"functions": [
{
"name": "no_op",
{
"application_id":"YOUR_APP_ID",
"src":"http://cdn.blitline.com/filters/boys.jpeg",
"functions":[
{
"name":"tile",
"params":{
"src" : "https://s3.amazonaws.com/img.blitline/test_pngs/apple.png",
"scale" : 0.30
},
@blitline-dev
blitline-dev / vector_example.js
Last active August 29, 2015 13:56
Vector Example
{
"application_id": "YOUR_APP_ID",
"src": "http://dev.w3.org/SVG/tools/svgweb/samples/svg-files/car.svg",
"functions": [
{
"name": "no_op",
"save": {
"extension" : ".png",
"image_identifier": "MY_CLIENT_ID"
}
@blitline-dev
blitline-dev / raster_vector_blitline.json
Created January 21, 2014 02:09
Rasterize Vector to 72dpi
{
"application_id": "YOUR_APP_ID",
"pre_process": [
{
"job": {
"src": "http://reboots.g-cipher.net/time/nixie-hvps.pdf",
"src_data": {
"dpi": 231
},
"functions": [
@blitline-dev
blitline-dev / 2MB_example_multi.json
Created January 7, 2014 17:54
2MB_example_mutl
{
"application_id": "YOUR_APP_ID",
"src": "http://s3.amazonaws.com/img.blitline/example_iphone.jpg",
"functions": [
{
"name": "resize_to_fit",
"params": {
"width": 1000
},
"save": {
@blitline-dev
blitline-dev / gist:8202312
Last active January 1, 2016 21:18
rectangle_function.js
{
"application_id": "YOUR_APP_ID",
"src": "http://cdn.blitline.com/filters/boys.jpeg",
"functions": [
{
"name":"rectangle",
"params":{
"x":250,
"y":175,
"x1":450,
@blitline-dev
blitline-dev / rectangle_example.js
Created December 31, 2013 18:27
rectangle_example.js
{
"application_id": "YOUR_APP_ID",
"src": "http://cdn.blitline.com/filters/boys.jpeg",
"functions": [
{
"name": "ellipse",
"params": {
"x":250,
"y":150,
"x1":450,
@blitline-dev
blitline-dev / ellipse.json
Created December 31, 2013 18:26
ellipse_example.js
{
"application_id": "YOUR_APP_ID",
"src": "http://cdn.blitline.com/filters/boys.jpeg",
"functions": [
{
"name": "ellipse",
"params": {
"origin_x": 250,
"origin_y": 150,
"ellipse_width": 450,
@blitline-dev
blitline-dev / greyscale2.json
Created December 16, 2013 19:34
greyscale2
{
"application_id": "YOUR_APP_ID",
"src": "http://cdn.blitline.com/filters/boys.jpeg",
"functions": [
{
"name": "convert_command",
"params": {
"-set": "colorspace RGB",
"-colorspace": "gray"
},
@blitline-dev
blitline-dev / greyscale_example.json
Last active December 31, 2015 13:19
greyscale_example
{
"application_id": "YOUR_APP_ID",
"src": "http://cdn.blitline.com/filters/boys.jpeg",
"functions": [
{
"name": "convert_command",
"params": {
"-colorspace": "Gray"
},