public class JPEGHeader extends Object
Modifier and Type | Field and Description |
---|---|
private byte[] |
data |
private int[] |
offsets |
Constructor and Description |
---|
JPEGHeader(byte[] data,
int lastMarker) |
Modifier and Type | Method and Description |
---|---|
String |
getTransferSyntaxUID() |
int |
marker(int index) |
private static int |
nextMarker(byte[] data,
int from) |
int |
numberOfMarkers() |
int |
offset(int index) |
int |
offsetAfterAPP() |
int |
offsetOf(int marker) |
int |
offsetSOF() |
private int |
ss() |
Attributes |
toAttributes(Attributes attrs)
Return corresponding Image Pixel Description Macro Attributes
|
public JPEGHeader(byte[] data, int lastMarker)
private static int nextMarker(byte[] data, int from)
public int offsetOf(int marker)
public int offsetSOF()
public int offsetAfterAPP()
public int offset(int index)
public int marker(int index)
public int numberOfMarkers()
public Attributes toAttributes(Attributes attrs)
attrs
- target Attributes
or null
public String getTransferSyntaxUID()
private int ss()
Copyright © 2017 dcm4che.org. All rights reserved.