Creating square and circle in a jpeg image.