Get image content with Image#to_png_base64