Function versatiles::shared::webp2img

source ·
pub fn webp2img(data: Blob) -> Result<DynamicImage>
Expand description

Decodes an image from WebP format.

Arguments

  • data - A Blob containing the WebP-encoded image data.

Returns

A DynamicImage containing the decoded image.