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.jpeg |
Provides classes to read images from JPEG bitstreams.
|
net.sourceforge.jiu.codecs.tiff |
Classes to handle the Tagged Image File Format (TIFF).
|
Modifier and Type | Method and Description |
---|---|
private void |
PNGCodec.allocateImage()
Allocates the right image to private field
image ,
taking into consideration the fields width, height, precision and colorType. |
private void |
IFFCodec.checkAndLoad() |
private void |
PNGCodec.inflateBytes(byte[] buffer,
int numBytes) |
private void |
PCDCodec.load()
Attempts to load an image.
|
private void |
PNGCodec.load() |
private void |
PNMCodec.load()
Loads an image from a PNM input stream.
|
private void |
PSDCodec.load()
Attempts to load an Image from argument stream
in (which
could, as an example, be a RandomAccessFile instance, it
implements the DataInput interface). |
private void |
PalmCodec.load() |
static PixelImage |
ImageLoader.load(java.io.File file)
Attempts to load an image from a file.
|
static PixelImage |
ImageLoader.load(java.io.File file,
java.util.Vector listeners)
Attempts to load an image from a file, notifying the
argument progress listeners.
|
static PixelImage |
ImageLoader.load(java.lang.String fileName)
Load an image from a file given by its name.
|
static PixelImage |
ImageLoader.load(java.lang.String fileName,
java.util.Vector listeners)
Attempts to load an image from the file with the given name,
using the given list of progress listeners.
|
private int |
PNMCodec.loadAsciiNumber() |
private void |
PNMCodec.loadBilevelImage() |
private void |
PNMCodec.loadBilevelImageAscii() |
private void |
PNMCodec.loadBilevelImageBinary() |
private void |
IFFCodec.loadBytes(java.io.DataInput in,
byte[] data,
int num,
int y)
Loads data.length bytes from the input stream to the data array,
regarding the compression type.
|
private void |
PNGCodec.loadChunk() |
private void |
PNMCodec.loadColorImage() |
private void |
PNMCodec.loadGrayImage() |
private void |
PalmCodec.loadHeader(java.io.DataInput in) |
private PixelImage |
IFFCodec.loadImage(java.io.DataInput in)
Loads an image from given input stream in, regarding the compression
type.
|
private void |
PalmCodec.loadImage(java.io.DataInput in) |
private void |
PNGCodec.loadImage(long chunkSize)
Load an image from the current position in the file.
|
private void |
PSDCodec.loadImageData() |
private void |
PalmCodec.loadImageData(java.io.DataInput in) |
private void |
PNGCodec.loadImageHeader()
Reads data from an IHDR chunk and initializes private fields with it.
|
private void |
PNGCodec.loadImageInterlacedAdam7() |
private void |
PNGCodec.loadImageNonInterlaced() |
private void |
PSDCodec.loadPackbitsCompressedData(byte[] data,
int offset,
int num) |
private void |
PalmCodec.loadPalette(java.io.DataInput in) |
private void |
PNGCodec.loadPalette(long numEntries) |
private java.lang.String |
PNMCodec.loadTextLine() |
static PixelImage |
ImageLoader.loadToolkitImageUri(java.lang.String uri) |
private void |
PNMCodec.loadType()
Loads the first two characters (which are expected to be a capital P
followed by a decimal digit between 1 and 6, inclusively) and skips
following LF and CR characters.
|
void |
IFFCodec.process() |
void |
PCDCodec.process()
Checks the parameter and loads an image.
|
void |
PNGCodec.process() |
void |
PalmCodec.process() |
private int |
PNGCodec.readFilterType() |
private void |
RASCodec.readHeader() |
private IntegerImage |
RASCodec.readImage() |
private Palette |
RASCodec.readPalette() |
private void |
PNMCodec.setMaximumSample(java.lang.String line) |
private void |
PNMCodec.setResolution(java.lang.String line) |
Modifier and Type | Method and Description |
---|---|
static void |
JPEGMarkerReader.readHuffmanTables(java.io.DataInput in,
JPEGData jpegData,
int length) |
private void |
JPEGCodec.readMarker(JPEGData jpegData,
int marker,
int length) |
static void |
JPEGMarkerReader.readQuantizationTables(java.io.DataInput in,
JPEGData jpegData,
int length)
Read quantization tables from a DQT marker.
|
static void |
JPEGMarkerReader.readStartOfFrame(java.io.DataInput in,
JPEGData jpegData,
int marker,
int length) |
static void |
JPEGMarkerReader.readStartOfScan(java.io.DataInput in,
JPEGData jpegData,
int length)
Read an SOS (start of scan) marker.
|
Modifier and Type | Method and Description |
---|---|
private void |
TIFFImageFileDirectory.checkContent() |
abstract void |
TIFFDecoder.decode()
Decode data from input and write the decompressed pixel data to
the image associated with this decoder.
|
void |
TIFFDecoderDeflated.decode() |
void |
TIFFDecoderLogLuv.decode() |
void |
TIFFDecoderModifiedHuffman.decode() |
void |
TIFFDecoderPackbits.decode() |
private int |
TIFFDecoderModifiedHuffman.decodeBlackRun() |
private void |
TIFFDecoderLogLuv.decodeRow(byte[] row) |
private void |
TIFFDecoderModifiedHuffman.decodeRow(byte[] row) |
private void |
TIFFDecoderLogLuv.decodeRowPacked24(byte[] row) |
private void |
TIFFDecoderLogLuv.decodeRowRLE(byte[] row) |
private int |
TIFFDecoderModifiedHuffman.decodeRun(int[][][] codes,
int minCodeSize) |
private int |
TIFFDecoderModifiedHuffman.decodeWhiteRun() |
void |
TIFFImageFileDirectory.initFromTags(boolean check) |
private void |
TIFFCodec.load()
Attempts to load an image from a file in the TIFF format.
|
private void |
TIFFCodec.load(TIFFImageFileDirectory ifd) |
private TIFFImageFileDirectory |
TIFFCodec.readImageFileDirectory()
Reads a complete TIFF image file directory including all data that is
pointed to using the offset components and returns it.
|
private TIFFTag |
TIFFCodec.readTag()
Reads a TIFF tag and all data belonging to it and returns a
TIFFTag object.
|
private void |
TIFFCodec.skipImageFileDirectories(int numDirectories)
Skips a given number of image file directories in this TIFF files.
|