Created
October 4, 2012 03:49
-
-
Save blitline-dev/3831368 to your computer and use it in GitHub Desktop.
Demonstrates the use of png_quantize. This option allows you to convert 32bit PNGs to 8bit PNGs (with alpha). This conversion greatly reduces the size of png files with a minimal loss in quality.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"application_id":"YOUR_APP_ID", | |
"src":"http://cdn.blitline.com/filters/boys.jpeg", | |
"functions":[ | |
{ | |
"name":"resize_to_fit", | |
"params":{ | |
"width":100 | |
}, | |
"save":{ | |
"extension":".png", | |
"image_identifier":"MY_CLIENT_ID", | |
"png_quantize":true | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment