Remove debug code
Attempting to decode jpeg of unknown size
Cant find cause of exception err
PyErr is set in an unusual way
PyErr is set in an unusual way
Using wrong function to get type of bytearray
Using wrong function to get type of bytearray
Optional argument for meta data