picture snipping erlang