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.checkColorTypeAndPrecision()
Checks values
PNGCodec.precision and PNGCodec.colorType . |
private void |
BMPCodec.load() |
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 void |
PNGCodec.loadChunk() |
private void |
PNMCodec.loadGrayImage() |
private void |
BMPCodec.loadHeader() |
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 |
PNGCodec.loadImageHeader()
Reads data from an IHDR chunk and initializes private fields with it.
|
private void |
PNGCodec.loadImageInterlacedAdam7() |
private void |
PNGCodec.loadImageNonInterlaced() |
private void |
PalmCodec.loadPalette(java.io.DataInput in) |
private void |
BMPCodec.loadStream() |
static PixelImage |
ImageLoader.loadToolkitImageUri(java.lang.String uri) |
void |
IFFCodec.process() |
void |
PCDCodec.process()
Checks the parameter and loads an image.
|
void |
PNGCodec.process() |
private void |
RASCodec.readHeader() |
private void |
PNGCodec.reverseFilter(int rowFilterType,
byte[] buffer,
byte[] prev,
int numBytes) |
private void |
BMPCodec.save() |
private void |
GIFCodec.save() |
private void |
PalmCodec.save() |
private void |
RASCodec.save() |
private void |
RASCodec.saveHeader(PixelImage image) |
Modifier and Type | Method and Description |
---|---|
private void |
JPEGCodec.readMarker(JPEGData jpegData,
int marker,
int length) |
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() |
private static TIFFDecoder |
TIFFCodec.createDecoder(TIFFCodec codec,
TIFFImageFileDirectory ifd,
int tileIndex) |
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) |