Image Alter

Are your servers feeling the heat? BrowserPlus offers powerful, client-side image transformation. The new ImageAlter service is now built on GraphicsMagick. GraphicsMagick offers faster image processing in a smaller service. In fact, the Windows version has shrunk 50%, from 1.4MB to 700KB. Besides faster filters and a smaller download, the API has been simplified to allow for the ordering of transformation operations (first rotate right, then normalize, then despeckle, then add contrast).

Image Alter Screenshot

Example

A typical call to ImageAlter from BrowserPlus looks like this:

BrowserPlus.ImageAlter.transform({
    file: <path>, 
    format: "png", 
    quality: 100, 
    actions:[{"crop": [0.2, 0.2, 0.8, 0.8]}, "enhance", "grayscale", {"contrast": 2}]
  }, 
  function(result){});

API

To learn more about ImageAlter, read about the full API or try it out live with the Service Explorer.

Extending and Tinkering

Don't see the transformation you need? No problem. ImageAlter(4) is free and open source software: All you have to do is find the operation you're looking for in the GraphicsMagick API, and add a transformation to ImageAlter. As an example, the entire implementation of blur is only about 12 lines of code!