opencv-python icon indicating copy to clipboard operation
opencv-python copied to clipboard

Could not open some webp

Open Polyisoprene opened this issue 1 year ago • 0 comments

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")
  • [x] I'm using the latest version of opencv-python

Polyisoprene avatar Sep 20 '22 15:09 Polyisoprene