They were snapped by a shopkeeper who thought they looked suspicious.
He texted the police and sent the pic, too.
The police checked their files and saw the pair were wanted for robberies, so they arrested them.
They both went to jail for six months.
Rome police told the Daily Mirror newspaper: "We believe this to be the first time in the world a picture text message has been used to help catch criminals and secure conviction."