How to use Blitline with Azure and Azure Storage

This guide will explain how to access Blitline services and how to submit jobs to Blitline.

What is Blitline?

Blitline is a cloud-based image processing service that provides enterprise level image processing at a fraction of the price that it would cost to build it yourself.

The fact is that image processing has been done over and over again, usually rebuilt from the ground up for each and every website. We realize this because we’ve built them a million times too. One day we decided that perhaps it‘s time we just do it for everyone. We know how to do it, to do it fast and efficiently, and save everyone work in the meantime.

For more information, see

What Blitline is NOT...

To clarify what Blitline is useful for, it is often easier to identify what Blitline does NOT do before moving forward.

  • Blitline does NOT have HTML widgets to upload images. You must have images available publicly or with restricted permissions available for Blitline to reach.
  • Blitline does NOT do live image processing, like
  • Blitline does NOT accept image uploads, you cannot push your images to Blitline directly. You must push them to Azure Storage or other places Blitline supports and then tell Blitline where to go get them.
  • Blitline is massively parallel and does NOT do any synchronous processing. Meaning you must give us a postback_url and we can tell you when we are done processing.

Create a Blitline account

To sign up for a Blitline account

  1. Log in to the Azure Management Portal.
  2. In the lower pane of the management portal, click New.


  3. Click Store.


  4. In the Choose an Add-on dialog, select Blitline and click the right arrow.
  5. In the Personalize Add-on dialog select the Blitline plan you want to sign up for.
  6. Enter a name to identify your Blitline service in your Azure settings, or use the default value of Blitline. Names must be between 1 and 100 characters in length and contain only alphanumeric characters, dashes, dots, and underscores. The name must be unique in your list of subscribed Azure Store Items.


  7. Choose a value for the region; for example, West US.
  8. Click the right arrow.
  9. On the Review Purchase tab, review the plan and pricing information, and review the legal terms. If you agree to the terms, click the check mark. After you click the check mark, your Blitline account will begin the provisioning process.

To use Blitline you need to have your Application ID.

To find your Blitline Application ID

  1. Click Connection Info.


  2. In the Connection info dialog, you can see your Application ID


How to create a Blitline job

Blitline uses JSON to define the actions you want to take on an image. This JSON is composed of a few simple fields.

The simplest example is as follows:

    json : '{
   "application_id": "MY_APP_ID",
   "src" : "",
   "functions" : [ {
       "name": "resize_to_fit",
       "params" : { "width": 240, "height": 140 },
       "save" : { "image_identifier" : "external_sample_1" }
   } ]

Here we have JSON that will take a "src" image "...boys.jpeg" and then resize that image to 240x140.

The Application ID is something you can find in your CONNECTION INFO or MANAGE tab on Azure. It is your secret identifier that allows you to run jobs on Blitline.

The "save" parameter identifies information about where you want to put the image once we have processed it. In this trivial case, we haven't defined one. If no location is defined Blitline will store it locally (and temporarily) at a unique cloud location. You will be able to get that location from the JSON returned by Blitline when you make the Blitline. The "image" identifier is required and is returned to you when to identify this particular saved image.

You can find more information about the functions we support here:

You can also find documentation about the job options here:

Once you have your JSON all you need to do is POST it to

You will get JSON back that looks something like this:


This tells you that Blitline has recieved your request, it has put it in a processing queue, and when it has completed the image will be available at:

How to save an image to your Azure Storage account

If you have an Azure Storage account, you can easily have Blitline push the processed images into your Azure container. By adding an "azure_destination" you define the location and permissions for Blitline to push to.

Here is an example:

job : '{
  "application_id": "YOUR_APP_ID",
  "src" : "",
     "functions" : [{
     "name": "blur",
     "save" : {
         "image_identifier" : "YOUR_IMAGE_IDENTIFIER",
         "azure_destination" : {
             "account_name" : "YOUR_AZURE_CONTAINER_NAME",

By filling in the CAPITALIZED values with your own, you can submit this JSON to and the "src" image will be processed with a blur filter and then pushed to you Azure destination.

Please note:

The SAS must contain the entire SAS url, including the filename of the destination file.


You can also read the latest edition of Blitline's Azure Storage docs here.

Next Steps

Visit to read about all our other features: