added gravity option

Currently when we cop an image, it defaults to -gravity center. Added command to specify gravity option