Changed sending image to use PNG representation instead of JPEG