Skip to content

Instantly share code, notes, and snippets.

View blitline-dev's full-sized avatar

Blitline Developers blitline-dev

View GitHub Profile
@blitline-dev
blitline-dev / exr.json
Created October 3, 2013 14:30
EXR Example
{
"application_id":"YOUR_APP_ID",
"src":"https://s3.amazonaws.com/bltemp/memorial.exr",
"functions":[
{
"name":"resize_to_fit",
"params":{
"width":500
},
"save":{
{
"application_id":"YOUR_APP_ID",
"src":"https://s3.amazonaws.com/bltemp/sample1920X1080dpx10bit.dpx",
"functions":[
{
"name":"resize_to_fit",
"params":{
"width":500
},
"save":{
@blitline-dev
blitline-dev / extended_metadata_example.json
Last active December 23, 2015 10:59
Extended Metadata example
{
"application_id":"YOUR_APP_ID",
"src":"http://www.iptc.org/std-dev/photometadata/examples/microdataPages/demo.jpg",
"include_iptc" : true,
"functions":[
{
"name":"resize_to_fit",
"params":{
"width":100
},
@blitline-dev
blitline-dev / scale_to_match.js
Created August 29, 2013 16:34
match size on composite
{
"application_id":"YOUR_APP_ID",
"src" : "https://s3.amazonaws.com/img.blitline/test_pngs/2048s.png",
"functions":[
{
"name":"composite",
"params":{
"src" : "https://s3.amazonaws.com/img.blitline/test_pngs/apple.png",
"gravity":"CenterGravity",
"scale_to_match" : true
@blitline-dev
blitline-dev / pixelate.js
Created August 29, 2013 16:31
pixelate example
{
"application_id":"YOUR_APP_ID",
"src":"http://cdn.blitline.com/filters/boys.jpeg",
"functions":[
{
"name":"pixelate",
"params":{
"x" : 100,
"y" : 100,
"width":200,
@blitline-dev
blitline-dev / quadrant_example.json
Last active December 21, 2015 18:39
quadrant_example
{
"application_id":"YOUR_APP_ID",
"src":"http://www.imagemagick.org/Usage/crop/paged.gif",
"functions":[
{
"name":"convert_command",
"params":{
"-crop":"30x40+0+0"
},
"save":{
@blitline-dev
blitline-dev / pdf_convert
Created August 23, 2013 15:21
PDF Example with convert
{
"application_id":"YOUR_APP_ID",
"src":"http://ec2-50-16-126-42.compute-1.amazonaws.com/maker/conversion_scratch/1339/dow.pdf",
"functions":[
{
"name":"convert_command",
"params":{
"-density":"400",
"-resize":"50%",
"-colorspace":"RGB",
@blitline-dev
blitline-dev / pdf_example.js
Created August 19, 2013 15:03
pdf example
{
"application_id":"YOUR_APP_ID",
"src":"https://blitline.uservoice.com/assets/70497421/JEE_FLT_8_Solution.pdf",
"functions":[
{
"name":"resize_to_fit",
"params":{
"width":100
},
"save":{
@blitline-dev
blitline-dev / rtf_osl.json
Last active December 21, 2015 04:49
resize_to_fit with only_shrink_larger
{
"application_id":"YOUR_APP_ID",
"src":"http://cdn.blitline.com/filters/boys.jpeg",
"functions":[
{
"name":"resize_to_fit",
"params":{
"height":1000,
"width":1000,
"only_shrink_larger" : true
{
"application_id":"YOUR_APP_ID",
"src":"http://cdn.blitline.com/filters/boys.jpeg",
"functions":[
{
"name":"convert_command",
"params":{
"-function":"polynomial 3.5,-5.05,2.05,0.3",
"-channel":"R"
},