I have a lot images like this: Screenshot from ImageMagick
When I open it image in cv2, PIL I see only white canvas without any alpha channel
I started looking for the difference between these files, and those who open correctly and in ImageMagick saw this line Alpha: srgba(255,255,255,0) #FFFFFF00
screenshot
Valid files have Alpha: srgba(0,0,0,0) #00000000
File link: https://drive.google.com/file/d/1tN9D1vjwbnHg8urYJzHqI4zljS110oun/view?usp=sharing Help:)
UPD. The question is closed. Files must be opened with the flag IMREAD_UNCHANGED
I should have written like this
cv2.imread('file.png', cv2.IMREAD_UNCHANGED)