Detect the image type of a Buffer/Uint8Array