Wolfram Language

Open live version

Make a Hipstamatic Filter

Make a hipstamatic filter and deploy it to the cloud to convert web images.


code

X

how it works

Import pulls an image from the web:

In[1]:=
X
Out[1]=

Increase the contrast slightly:

In[2]:=
X
Out[2]=

Boost the red and green channels and tone down the blue:

In[3]:=
X
Out[3]=

Reduce the saturation by converting the color space to HSB (hue, saturation, brightness) and decreasing the saturation value:

In[4]:=
X
Out[4]=

Convert back to RGB and add Poisson noise for graininess:

In[5]:=
X
Out[5]=

Combine those steps for a hipstamatic filter:

In[6]:=
X
Out[6]=

To deploy that functionality to the cloud, where anyone can use it, use FormFunction to specify an input field where users can type the URL of an image, and CloudDeploy with Permissions->Public so that it is accessible to everyone.

In[7]:=
X
Out[7]=