public class JpegParser extends Object
Modifier and Type | Field and Description |
---|---|
int |
bpc |
int |
colorComponents |
int |
dpiX |
int |
dpiY |
boolean |
failed |
boolean |
invert |
static byte[] |
JFIF_ID |
static int |
M_APP0 |
static int |
M_APP2 |
static int |
M_APPD |
static int |
M_APPE |
static int |
NOPARAM_MARKER |
static int[] |
NOPARAM_MARKERS |
static int |
NOT_A_MARKER |
ICC_Profile |
profile |
static byte[] |
PS_8BIM_RESO |
int |
scaledHeight |
int |
scaledWidth |
static int |
UNSUPPORTED_MARKER |
static int[] |
UNSUPPORTED_MARKERS |
static int |
VALID_MARKER |
static int[] |
VALID_MARKERS |
Constructor and Description |
---|
JpegParser(byte[] img,
CachedImage image) |
Modifier and Type | Method and Description |
---|---|
String |
getColorspaceName() |
boolean |
isInvert() |
void |
skip(InputStream is,
int size) |
void |
tagICC(ICC_Profile profile) |
public static final int NOT_A_MARKER
public static final int VALID_MARKER
public static final int[] VALID_MARKERS
public static final int UNSUPPORTED_MARKER
public static final int[] UNSUPPORTED_MARKERS
public static final int NOPARAM_MARKER
public static final int[] NOPARAM_MARKERS
public static final int M_APP0
public static final int M_APP2
public static final int M_APPE
public static final int M_APPD
public static final byte[] JFIF_ID
public static final byte[] PS_8BIM_RESO
public boolean failed
public int dpiX
public int dpiY
public boolean invert
public int scaledHeight
public int scaledWidth
public int colorComponents
public int bpc
public ICC_Profile profile
public JpegParser(byte[] img, CachedImage image) throws IOException
IOException
public boolean isInvert()
public String getColorspaceName()
public void tagICC(ICC_Profile profile)
public void skip(InputStream is, int size) throws IOException
IOException
Revision 4.0.15 / 20220727-0149