Package | Description |
---|---|
net.sourceforge.jiu.codecs |
Provides classes to read images from and save them to files (or streams) in various file formats.
|
net.sourceforge.jiu.codecs.tiff |
Classes to handle the Tagged Image File Format (TIFF).
|
Modifier and Type | Field and Description |
---|---|
static CodecMode |
CodecMode.LOAD
Codec mode load, one of the two possible values of CodecMode.
|
private CodecMode |
ImageCodec.mode |
static CodecMode |
CodecMode.SAVE
Codec mode save, one of the two possible values of CodecMode.
|
Modifier and Type | Method and Description |
---|---|
CodecMode |
ImageCodec.getMode()
Returns the mode this codec is in.
|
Modifier and Type | Method and Description |
---|---|
void |
ImageCodec.setFile(java.io.File file,
CodecMode codecMode)
Gives a File object and a codec mode to this codec and attempts
to initialize the appropriate I/O objects.
|
void |
ImageCodec.setFile(java.lang.String fileName,
CodecMode codecMode)
Gives a file name and codec mode to the codec which will then
try to create the corresponding I/O object.
|
void |
PCDCodec.setFile(java.lang.String fileName,
CodecMode codecMode) |
void |
PNGCodec.setFile(java.lang.String fileName,
CodecMode codecMode) |
void |
PalmCodec.setFile(java.lang.String fileName,
CodecMode codecMode)
Reuses super.setFile when used for CodecMode.LOAD, but
creates a RandomAccessFile instead of a FileOutputStream
in write mode so that the compressed size can be written
correcly (requires a seek operation).
|
void |
ImageCodec.setRandomAccessFile(java.io.RandomAccessFile randomAccessFile,
CodecMode codecMode)
A method to give a
RandomAccessFile to this codec to be used
for loading or saving an image. |
Modifier and Type | Method and Description |
---|---|
void |
TIFFCodec.setFile(java.lang.String fileName,
CodecMode codecMode) |