v1 end-point is
Items marked exclusive cannot be pipelined in a single request.
The following table details the operations for an image. Currently only a single image per request is supported operations.
|inforead characteristics exclusive||
||Read image details such as dimensions and resolution.
Note: Image information is returned as a JSON array.
|spritecreate CSS sprites exclusive||
||Create a grid with 3px padding and in the specified format.|
||Convert image to specified format.|
||Image optimization based on it's type.|
|c2wcrop to width||
||Crop on center to a width of 100px.|
|c2hcrop to height||
||Crop on center to a height of 100px.|
|s2wscale to width||
||Scale to a width of 100px.|
|s2hscale to height||
||Scale to a height of 100px.|
|sw2tnscale to width as thumbnail||
||Scale to a width of 100px and perform thumbnail optimizations.|
|sh2tnscale to height as thumbnail||
||Scale to a height of 100px and perform thumbnail optimizations.|
|cw2tncrop to width as thumbnail||
||Crop to a width of 100px and perform thumbnail optimizations.|
|ch2tncrop to height as thumbnail||
||Crop to a height of 100px and perform thumbnail optimizations.|
||Compress output using gzip.
Note: When using gzip'd output be sure to send the proper headers. When using X-Sendfile, only nginx appears to work.
|encode (beta) change encoding||
||Convert output to specified encoding (supported encodings).
Note: This may not work correctly and is only available when not using gzip output.
The following table details the operations for generating and reading QR codes.
|qrencodeqr code maker exclusive||
||Generate a QR code from the provided text.
Note: The text to encode should be URL encoded.
|outtypeoutput format exclusive||
||Set the output type for
Note: If not specified the default is
|qrdecodeqr code reader exclusive||
||Read the contents of a QR code image.
Note: Normal image types are supported. The image should be uploaded in the same way as for image operations.
The API URL's query string is used to define what operations to perform, the assets to work on must be uploaded using POST file uploads.
files. For multiple files, use
See examples for usage details.
Currently there are a few limits on public use of the API:
Premium versions of the API remove these limitations and add an SLA and functionality - like integration with CDNs, fulltext indexing, sprite-generation, and cache-busting URLs. Contact us over at stackware for details.
Need an unrestricted on-premise API with customizations and integration?
Check out the speeder image CDN.
Updated CSS minify backend to preserve CSS's calc() whitespace.
The API has added sprite maker support for generating CSS sprite sheets from multiple images.
info operation for retrieving image
details such as dimensions and resolution.
The API now supports QR code maker and reader operations.
The online console for dynamic image thumbnail and manipulation is now available.
The console displays the API calls it generates to help with debugging.
It will be combined unchanged with the other files.
First public release.