1. A method of adding a border to an image using pixels of a graphic piece, said method comprised of: generating a mask that identifies pixels of said graphic piece to merge with predetermined pixels of the image; merging pixels of said graphic piece with pixels of the image according to said mask so as to form the image with a border.