Convert to bytes, default to PNG format

to_bytes_format(img, format = "png")

Arguments

img

image

format

format

Value

None