pub fn png2img(data: Blob) -> Result<DynamicImage>
Decodes a PNG-encoded image from a Blob and returns it as a DynamicImage.
data
Blob
A DynamicImage object representing the decoded image.
DynamicImage