Skip to content

Webp images with animation are not supported #22569

@Polyisoprene

Description

@Polyisoprene

Expected behaviour

Write here how did you expect the library to function.

Actual behaviour

when open a webp with cv2.imread , got a None

Steps to reproduce

  • example code
# If we have downloaded the image from the URL below,and named it 1.webp

# https://i2.hdslb.com/bfs/garb/item/0602d6dc43c5a92610d5cd77b0550802e658ed04.webp 

img = cv2.imread("1.webp")
  • operating system
    Ubuntu 22.04.1 LTS

  • architecture (e.g. x86)
    x86_64

  • opencv-python version
    4.6.0.66

Issue submission checklist
  • This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)
  • I have read the README of this repository and understand that this repository provides only an automated build toolchain for OpenCV Python packages (there is no actual OpenCV code here)
  • The issue is related to the build scripts in this repository, to the pre-built binaries or is a feature request (such as "please enable this additional dependency")
  • I'm using the latest version of opencv-python

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions