0
How can I count total of bytes of image file in python?
I have some corrupted image in jpg format , and i want to check to know it is damaged by comparing sum of byte in the header and real size.
2 Answers
0
Use the pillow module which is a third party module.
0
Yep, i have checked with Pillow, but I get the size equal to the header even though it's partially damaged