List of utility methods to do JPEG Image Check
if (b.length < 2) { return false; return (b[0] == (byte) 0xFF) && (b[1] == (byte) 0xD8);