Photoshop tutorial to learn how to Manipulate an image with scripting : http://digital-photography.50webs.com/home/tutorial/Manipulate_an_Image_with_Scripting.htm
thanks. rgds, Doni Photoshop tutorials and articles http://digital-photography.50webs.com