Java Utililty Methods JPEG Image Check

List of utility methods to do JPEG Image Check

Description

The list of methods to do JPEG Image Check are organized into topic(s).

Method

booleanisJPEG(byte[] b)
is JPEG
if (b.length < 2) {
    return false;
return (b[0] == (byte) 0xFF) && (b[1] == (byte) 0xD8);