bob.io.load('image.jpg') crashes when image.jpg is not in JPEG format
Created by: siebenkopf
When I try to load an image file with filename extension '.jpg' using bob.io.load, where the image itself is not encoded as JPEG (in this case it is actually a .bmp file) , the program writes:
Not a JPEG file: starts with 0x42 0x4d
and exits. It seems the JPEG error handling is not implemented properly.