Removed the html around the png response to return simply the base64 data.