Sorry for the late reply.
Maybe you can use can gimp. It's a free photo editor out there.
I tried to research about it, look at thishttp://www.gimp.org/tutorials/Borders_On_Selections/
Maybe this one will help.
It's actually linux based photo editor but it's also available in windows. For windows, here.
Well, I personally never tried gimp but it's a good start to experiment and discover things.