Package net.sourceforge.jiu.codecs.jpeg
Class JPEGFrame
java.lang.Object
net.sourceforge.jiu.codecs.jpeg.JPEGFrame
Data class to store information on a JPEG frame.
A frame here is JPEG terminology for a complete image
and has nothing to do with GUI components like JFrame objects
in Swing.
- Since:
- 0.13.0
- Author:
- Marco Schmidt
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JPEGFrameComponent[]
private int
private int
private int
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
getWidth()
void
setComponents
(JPEGFrameComponent[] components) void
setHeight
(int i) void
setNumComponents
(int i) void
setSamplePrecision
(int i) void
setWidth
(int i) toString()
-
Field Details
-
components
-
numComponents
private int numComponents -
height
private int height -
samplePrecision
private int samplePrecision -
width
private int width
-
-
Constructor Details
-
JPEGFrame
public JPEGFrame()
-
-
Method Details
-
getComponents
-
getHeight
public int getHeight() -
getNumComponents
public int getNumComponents() -
getSamplePrecision
public int getSamplePrecision() -
getWidth
public int getWidth() -
setComponents
-
setHeight
public void setHeight(int i) -
setNumComponents
public void setNumComponents(int i) -
setSamplePrecision
public void setSamplePrecision(int i) -
setWidth
public void setWidth(int i) -
toString
-