Try now in the
Open Cloud »
(no sign-in required)

Fake Snapshots

Make an image look like an old, faded snapshot.

Use natural language to request a picture of something:

Hint: try a common type of animal, or a famous person.

SHOW/HIDE DETAILS

There are lots of ways to get pictures in the Wolfram Language.

On the desktop, you can take a picture with your computers camera using CurrentImage.

You can use the Wolfram Knowledgebase (the same one that powers Wolfram|Alpha) to ask for a picture of something. Hold down the key and press = to get a natural language input field (LinguisticAssistant):

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

You can also drag images from most websites and drop them right into the code.

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

Run the code to convert a color image to black and white. Try converting other images:

SHOW/HIDE DETAILS

This gets an image of a cat and gives it the name image so it can be used later:

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

This converts the cat image to black and white:

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

You can also drag an image into the code from most websites or put a natural language box directly into the expression:

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

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

Blur the image to make it look like it was taken with a shaky camera. Try blur amounts other than 6:

SHOW/HIDE DETAILS

Motion blur makes an image look like it was taken with a shaky camera:

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

Reduce the amount of blur by specifying its strength:

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

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

Add sepia color to the image to make it look like an old, faded photo. Try other color component values:

Note: color component values should be between 0 and 1.

SHOW/HIDE DETAILS

RGBColor gives a color described by its red, green, and blue components. This gives pure red, since the green and blue components are zero:

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

Mixing red and green gives yellow:

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

Sepia, a dark brown color, has precise amounts of red, green, and blue:

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

Adding a color to an image tints the image with that color:

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

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

Share ItMake a website that ages photos:

SHOW/HIDE DETAILS

Deploy the photo-aging function to a web page that will age images that you upload:

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

Click the link in the output to visit the site.

Share the link by right-clicking it and choosing Copy Address. Paste the link into an email, tweet, or other message.

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