shibukawa / imagesize_py

MIT License
227 stars 44 forks source link

Fix exception on corrupt JPEG files #48

Closed marcoffee closed 2 years ago

marcoffee commented 3 years ago

It happens in rare cases when ord receives an empty byte string