a1aa0b Test if the file is an image by loading it with PIL

Authored and Committed by Pierre-Yves Chibon 11 years ago
    Test if the file is an image by loading it with PIL
    
    Mark the file as binary if we failed to load it in PIL
    
        
file modified
+6 -1