I wanted to make my online gallery images look a little more interesting than just flat JPG images on a web page, so I wrote a small utility to simulate the image as if it were gallery wrapped, with lighting from the upper left corner. You can see the results at my website, go to the gallery page.
I've published this utility at a website called UtilityMill. It will work with JPEG, PNG, or GIF images, you can try it for yourself. Go to http://utilitymill.com/utility/Gallery_Wrap_Image
, and enter your local file name to be highlighted (there is a convenient Browse button so you don't have to type in a long directory path). Click on the "Go!" button, and you will shortly get back a prompt to open or save the file "Gallery_Wrap_Image.jpeg". You may do either - the returned file is your original file with slight highlight shading on the left and top, and darkened shading on the right and bottom.
If you are a programmer, UtilityMill makes its utilities accessible via a web api also, so you could automate this process.