libpng error: iTXt: chunk data is too large, cv2.imread, opencv

Viewed 25

when i run the code i get the error message:

libpng error: iTXt: chunk data is too large

filename = 'path_file'  # size file 34 MB, PNG
image = cv2.imread(filename,cv2.IMREAD_UNCHANGED)
print(image)  # None

above is my python code with the help of everyone, thanks!

0 Answers
Related