Graphics as Input
An image is equivalent to its symbolic expression. You can operate on an image as you would on a symbolic expression.
In[1]:=1

✖
https://wolfram.com/xid/0dur3bzaj2s3n4da3m-h14kp
Out[1]=1

Type // InputForm after the graphic to get the symbolic expression that corresponds to the graphic:
In[71]:=71

✖
https://wolfram.com/xid/0dur3bzaj2s3n4da3m-f48dnl
In[72]:=72

✖
https://wolfram.com/xid/0dur3bzaj2s3n4da3m-exdj52

Type a Wolfram Language Replace command after the output graphic and evaluate:

✖
https://wolfram.com/xid/0dur3bzaj2s3n4da3m-c9rl65
Out[2]=2
