Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Téléchargement de l’api batik-codec.jar

Téléchargement de l'api batik-codec.jar
Download here
org.apache.batik.ext.awt.image.codec.imageio.AbstractImageIORegistryEntry(Ci-dessous la liste des Méthodes de la classe)

public void <init>(String name, String ext, String mimeType, int offset, byte[] magicNumber)
public org.apache.batik.ext.awt.image.renderable.Filter handleStream(java.io.InputStream inIS, org.apache.batik.util.ParsedURL origURL, boolean needRawData)

org.apache.batik.ext.awt.image.codec.imageio.ImageIODebugUtil(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
public static void dumpMetadata(javax.imageio.metadata.IIOMetadata meta)
public static void dumpNode(org.w3c.dom.Node node)

org.apache.batik.ext.awt.image.codec.imageio.ImageIOImageWriter(Ci-dessous la liste des Méthodes de la classe)

public void <init>(String mime)
public void writeImage(java.awt.image.RenderedImage image, java.io.OutputStream out)
		throws java.io.IOException
public void writeImage(java.awt.image.RenderedImage image, java.io.OutputStream out, org.apache.batik.ext.awt.image.spi.ImageWriterParams params)
		throws java.io.IOException
protected javax.imageio.ImageWriteParam getDefaultWriteParam(javax.imageio.ImageWriter iiowriter, java.awt.image.RenderedImage image, org.apache.batik.ext.awt.image.spi.ImageWriterParams params)
protected javax.imageio.metadata.IIOMetadata updateMetadata(javax.imageio.metadata.IIOMetadata meta, org.apache.batik.ext.awt.image.spi.ImageWriterParams params)
protected static javax.imageio.metadata.IIOMetadataNode getChildNode(org.w3c.dom.Node n, String name)
public String getMIMEType()
public void warningOccurred(javax.imageio.ImageWriter source, int imageIndex, String warning)

org.apache.batik.ext.awt.image.codec.imageio.ImageIOJPEGImageWriter(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
protected javax.imageio.metadata.IIOMetadata updateMetadata(javax.imageio.metadata.IIOMetadata meta, org.apache.batik.ext.awt.image.spi.ImageWriterParams params)
private static javax.imageio.metadata.IIOMetadata addAdobeTransform(javax.imageio.metadata.IIOMetadata meta)
protected javax.imageio.ImageWriteParam getDefaultWriteParam(javax.imageio.ImageWriter iiowriter, java.awt.image.RenderedImage image, org.apache.batik.ext.awt.image.spi.ImageWriterParams params)

org.apache.batik.ext.awt.image.codec.imageio.ImageIOJPEGRegistryEntry(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
static void <clinit>()

org.apache.batik.ext.awt.image.codec.imageio.ImageIOPNGImageWriter(Ci-dessous la liste des Méthodes de la classe)

public void <init>()

org.apache.batik.ext.awt.image.codec.imageio.ImageIOPNGRegistryEntry(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
static void <clinit>()

org.apache.batik.ext.awt.image.codec.imageio.ImageIOTIFFImageWriter(Ci-dessous la liste des Méthodes de la classe)

public void <init>()

org.apache.batik.ext.awt.image.codec.imageio.ImageIOTIFFRegistryEntry(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
static void <clinit>()

org.apache.batik.ext.awt.image.codec.imageio.PNGTranscoderImageIOWriteAdapter(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
public void writeImage(org.apache.batik.transcoder.image.PNGTranscoder transcoder, java.awt.image.BufferedImage img, org.apache.batik.transcoder.TranscoderOutput output)
		throws org.apache.batik.transcoder.TranscoderException

org.apache.batik.ext.awt.image.codec.imageio.TIFFTranscoderImageIOWriteAdapter(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
public void writeImage(org.apache.batik.transcoder.image.TIFFTranscoder transcoder, java.awt.image.BufferedImage img, org.apache.batik.transcoder.TranscoderOutput output)
		throws org.apache.batik.transcoder.TranscoderException

org.apache.batik.ext.awt.image.codec.jpeg.JPEGImageWriter(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
public void writeImage(java.awt.image.RenderedImage image, java.io.OutputStream out)
		throws java.io.IOException
public void writeImage(java.awt.image.RenderedImage image, java.io.OutputStream out, org.apache.batik.ext.awt.image.spi.ImageWriterParams params)
		throws java.io.IOException
public String getMIMEType()

org.apache.batik.ext.awt.image.codec.jpeg.JPEGRegistryEntry(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
public org.apache.batik.ext.awt.image.renderable.Filter handleStream(java.io.InputStream inIS, org.apache.batik.util.ParsedURL origURL, boolean needRawData)
static void <clinit>()

org.apache.batik.ext.awt.image.codec.png.CRC(Ci-dessous la liste des Méthodes de la classe)

void <init>()
public static int updateCRC(int crc, byte[] data, int off, int len)
static void <clinit>()

org.apache.batik.ext.awt.image.codec.png.ChunkStream(Ci-dessous la liste des Méthodes de la classe)

void <init>(String type)
		throws java.io.IOException
public void write(byte[] b)
		throws java.io.IOException
public void write(byte[] b, int off, int len)
		throws java.io.IOException
public void write(int b)
		throws java.io.IOException
public void writeBoolean(boolean v)
		throws java.io.IOException
public void writeByte(int v)
		throws java.io.IOException
public void writeBytes(String s)
		throws java.io.IOException
public void writeChar(int v)
		throws java.io.IOException
public void writeChars(String s)
		throws java.io.IOException
public void writeDouble(double v)
		throws java.io.IOException
public void writeFloat(float v)
		throws java.io.IOException
public void writeInt(int v)
		throws java.io.IOException
public void writeLong(long v)
		throws java.io.IOException
public void writeShort(int v)
		throws java.io.IOException
public void writeUTF(String str)
		throws java.io.IOException
public void writeToStream(java.io.DataOutputStream output)
		throws java.io.IOException
public void close()
		throws java.io.IOException

org.apache.batik.ext.awt.image.codec.png.IDATOutputStream(Ci-dessous la liste des Méthodes de la classe)

public void <init>(java.io.OutputStream output, int segmentLength)
public void close()
		throws java.io.IOException
private void writeInt(int x)
		throws java.io.IOException
public void flush()
		throws java.io.IOException
public void write(byte[] b)
		throws java.io.IOException
public void write(byte[] b, int off, int len)
		throws java.io.IOException
public void write(int b)
		throws java.io.IOException
static void <clinit>()

org.apache.batik.ext.awt.image.codec.png.PNGChunk(Ci-dessous la liste des Méthodes de la classe)

void <init>(int length, int type, byte[] data, int crc)
public int getLength()
public int getType()
public String getTypeString()
public byte[] getData()
public byte getByte(int offset)
public int getInt1(int offset)
public int getInt2(int offset)
public int getInt4(int offset)
public String getString4(int offset)
public boolean isType(String typeName)

org.apache.batik.ext.awt.image.codec.png.PNGDecodeParam(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
public boolean getSuppressAlpha()
public void setSuppressAlpha(boolean suppressAlpha)
public boolean getExpandPalette()
public void setExpandPalette(boolean expandPalette)
public boolean getOutput8BitGray()
public void setOutput8BitGray(boolean output8BitGray)
public boolean getPerformGammaCorrection()
public void setPerformGammaCorrection(boolean performGammaCorrection)
public float getUserExponent()
public void setUserExponent(float userExponent)
public float getDisplayExponent()
public void setDisplayExponent(float displayExponent)
public boolean getExpandGrayAlpha()
public void setExpandGrayAlpha(boolean expandGrayAlpha)
public boolean getGenerateEncodeParam()
public void setGenerateEncodeParam(boolean generateEncodeParam)
public org.apache.batik.ext.awt.image.codec.png.PNGEncodeParam getEncodeParam()
public void setEncodeParam(org.apache.batik.ext.awt.image.codec.png.PNGEncodeParam encodeParam)

org.apache.batik.ext.awt.image.codec.png.PNGEncodeParam(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
public static org.apache.batik.ext.awt.image.codec.png.PNGEncodeParam getDefaultEncodeParam(java.awt.image.RenderedImage im)
public abstract void setBitDepth(int arg1)
public int getBitDepth()
public void unsetBitDepth()
public void setInterlacing(boolean useInterlacing)
public boolean getInterlacing()
public void unsetBackground()
public boolean isBackgroundSet()
public void setChromaticity(float[] chromaticity)
public void setChromaticity(float whitePointX, float whitePointY, float redX, float redY, float greenX, float greenY, float blueX, float blueY)
public float[] getChromaticity()
public void unsetChromaticity()
public boolean isChromaticitySet()
public void setGamma(float gamma)
public float getGamma()
public void unsetGamma()
public boolean isGammaSet()
public void setPaletteHistogram(int[] paletteHistogram)
public int[] getPaletteHistogram()
public void unsetPaletteHistogram()
public boolean isPaletteHistogramSet()
public void setICCProfileData(byte[] ICCProfileData)
public byte[] getICCProfileData()
public void unsetICCProfileData()
public boolean isICCProfileDataSet()
public void setPhysicalDimension(int[] physicalDimension)
public void setPhysicalDimension(int xPixelsPerUnit, int yPixelsPerUnit, int unitSpecifier)
public int[] getPhysicalDimension()
public void unsetPhysicalDimension()
public boolean isPhysicalDimensionSet()
public void setSuggestedPalette(org.apache.batik.ext.awt.image.codec.png.PNGSuggestedPaletteEntry[] palette)
public org.apache.batik.ext.awt.image.codec.png.PNGSuggestedPaletteEntry[] getSuggestedPalette()
public void unsetSuggestedPalette()
public boolean isSuggestedPaletteSet()
public void setSignificantBits(int[] significantBits)
public int[] getSignificantBits()
public void unsetSignificantBits()
public boolean isSignificantBitsSet()
public void setSRGBIntent(int SRGBIntent)
public int getSRGBIntent()
public void unsetSRGBIntent()
public boolean isSRGBIntentSet()
public void setText(String[] text)
public String[] getText()
public void unsetText()
public boolean isTextSet()
public void setModificationTime(java.util.Date modificationTime)
public java.util.Date getModificationTime()
public void unsetModificationTime()
public boolean isModificationTimeSet()
public void unsetTransparency()
public boolean isTransparencySet()
public void setCompressedText(String[] text)
public String[] getCompressedText()
public void unsetCompressedText()
public boolean isCompressedTextSet()
public synchronized void addPrivateChunk(String type, byte[] data)
public synchronized int getNumPrivateChunks()
public synchronized String getPrivateChunkType(int index)
public synchronized byte[] getPrivateChunkData(int index)
public synchronized void removeUnsafeToCopyPrivateChunks()
public synchronized void removeAllPrivateChunks()
private static final int abs(int x)
public static final int paethPredictor(int a, int b, int c)
public int filterRow(byte[] currRow, byte[] prevRow, byte[][] scratchRows, int bytesPerRow, int bytesPerPixel)

org.apache.batik.ext.awt.image.codec.png.PNGImage(Ci-dessous la liste des Méthodes de la classe)

private void initGammaLut(int bits)
private void initGrayLut(int bits)
public void <init>(java.io.InputStream stream, org.apache.batik.ext.awt.image.codec.png.PNGDecodeParam decodeParam)
		throws java.io.IOException
private static String getChunkType(java.io.DataInputStream distream)
private static org.apache.batik.ext.awt.image.codec.png.PNGChunk readChunk(java.io.DataInputStream distream)
private void parse_IHDR_chunk(org.apache.batik.ext.awt.image.codec.png.PNGChunk chunk)
private void parse_IEND_chunk(org.apache.batik.ext.awt.image.codec.png.PNGChunk chunk)
		throws java.lang.Exception
public static java.awt.image.ColorModel createComponentColorModel(java.awt.image.SampleModel sm)
private void parse_PLTE_chunk(org.apache.batik.ext.awt.image.codec.png.PNGChunk chunk)
private void parse_bKGD_chunk(org.apache.batik.ext.awt.image.codec.png.PNGChunk chunk)
private void parse_cHRM_chunk(org.apache.batik.ext.awt.image.codec.png.PNGChunk chunk)
private void parse_gAMA_chunk(org.apache.batik.ext.awt.image.codec.png.PNGChunk chunk)
private void parse_hIST_chunk(org.apache.batik.ext.awt.image.codec.png.PNGChunk chunk)
private void parse_iCCP_chunk(org.apache.batik.ext.awt.image.codec.png.PNGChunk chunk)
private void parse_pHYs_chunk(org.apache.batik.ext.awt.image.codec.png.PNGChunk chunk)
private void parse_sBIT_chunk(org.apache.batik.ext.awt.image.codec.png.PNGChunk chunk)
private void parse_sRGB_chunk(org.apache.batik.ext.awt.image.codec.png.PNGChunk chunk)
private void parse_tEXt_chunk(org.apache.batik.ext.awt.image.codec.png.PNGChunk chunk)
private void parse_tIME_chunk(org.apache.batik.ext.awt.image.codec.png.PNGChunk chunk)
private void parse_tRNS_chunk(org.apache.batik.ext.awt.image.codec.png.PNGChunk chunk)
private void parse_zTXt_chunk(org.apache.batik.ext.awt.image.codec.png.PNGChunk chunk)
private java.awt.image.WritableRaster createRaster(int width, int height, int bands, int scanlineStride, int bitDepth)
private static void decodeSubFilter(byte[] curr, int count, int bpp)
private static void decodeUpFilter(byte[] curr, byte[] prev, int count)
private static void decodeAverageFilter(byte[] curr, byte[] prev, int count, int bpp)
private static void decodePaethFilter(byte[] curr, byte[] prev, int count, int bpp)
private void processPixels(int process, java.awt.image.Raster src, java.awt.image.WritableRaster dst, int xOffset, int step, int y, int width)
private void decodePass(java.awt.image.WritableRaster imRas, int xOffset, int yOffset, int xStep, int yStep, int passWidth, int passHeight)
private void decodeImage(boolean useInterlacing)
public java.awt.image.Raster getTile(int tileX, int tileY)
static void <clinit>()

org.apache.batik.ext.awt.image.codec.png.PNGImageDecoder(Ci-dessous la liste des Méthodes de la classe)

public void <init>(java.io.InputStream input, org.apache.batik.ext.awt.image.codec.png.PNGDecodeParam param)
public java.awt.image.RenderedImage decodeAsRenderedImage(int page)
		throws java.io.IOException

org.apache.batik.ext.awt.image.codec.png.PNGImageEncoder(Ci-dessous la liste des Méthodes de la classe)

public void <init>(java.io.OutputStream output, org.apache.batik.ext.awt.image.codec.png.PNGEncodeParam param)
private void writeMagic()
		throws java.io.IOException
private void writeIHDR()
		throws java.io.IOException
private static int clamp(int val, int maxValue)
private void encodePass(java.io.OutputStream os, java.awt.image.Raster ras, int xOffset, int yOffset, int xSkip, int ySkip)
		throws java.io.IOException
private void writeIDAT()
		throws java.io.IOException
private void writeIEND()
		throws java.io.IOException
private void writeCHRM()
		throws java.io.IOException
private void writeGAMA()
		throws java.io.IOException
private void writeICCP()
		throws java.io.IOException
private void writeSBIT()
		throws java.io.IOException
private void writeSRGB()
		throws java.io.IOException
private void writePLTE()
		throws java.io.IOException
private void writeBKGD()
		throws java.io.IOException
private void writeHIST()
		throws java.io.IOException
private void writeTRNS()
		throws java.io.IOException
private void writePHYS()
		throws java.io.IOException
private void writeSPLT()
		throws java.io.IOException
private void writeTIME()
		throws java.io.IOException
private void writeTEXT()
		throws java.io.IOException
private void writeZTXT()
		throws java.io.IOException
private void writePrivateChunks()
		throws java.io.IOException
public void encode(java.awt.image.RenderedImage im)
		throws java.io.IOException
static void <clinit>()

org.apache.batik.ext.awt.image.codec.png.PNGImageWriter(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
public void writeImage(java.awt.image.RenderedImage image, java.io.OutputStream out)
		throws java.io.IOException
public void writeImage(java.awt.image.RenderedImage image, java.io.OutputStream out, org.apache.batik.ext.awt.image.spi.ImageWriterParams params)
		throws java.io.IOException
public String getMIMEType()

org.apache.batik.ext.awt.image.codec.png.PNGRed(Ci-dessous la liste des Méthodes de la classe)

private void initGammaLut(int bits)
private void initGrayLut(int bits)
public void <init>(java.io.InputStream stream)
		throws java.io.IOException
public void <init>(java.io.InputStream stream, org.apache.batik.ext.awt.image.codec.png.PNGDecodeParam decodeParam)
		throws java.io.IOException
private static String getChunkType(java.io.DataInputStream distream)
public static java.awt.image.ColorModel createComponentColorModel(java.awt.image.SampleModel sm)
private java.awt.image.WritableRaster createRaster(int width, int height, int bands, int scanlineStride, int bitDepth)
private static void decodeSubFilter(byte[] curr, int count, int bpp)
private static void decodeUpFilter(byte[] curr, byte[] prev, int count)
private static void decodeAverageFilter(byte[] curr, byte[] prev, int count, int bpp)
private static int paethPredictor(int a, int b, int c)
private static void decodePaethFilter(byte[] curr, byte[] prev, int count, int bpp)
private void processPixels(int process, java.awt.image.Raster src, java.awt.image.WritableRaster dst, int xOffset, int step, int y, int width)
private void decodePass(java.awt.image.WritableRaster imRas, int xOffset, int yOffset, int xStep, int yStep, int passWidth, int passHeight)
private void decodeImage(boolean useInterlacing)
public java.awt.image.WritableRaster copyData(java.awt.image.WritableRaster wr)
public java.awt.image.Raster getTile(int tileX, int tileY)
static void <clinit>()

org.apache.batik.ext.awt.image.codec.png.PNGRegistryEntry(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
public org.apache.batik.ext.awt.image.renderable.Filter handleStream(java.io.InputStream inIS, org.apache.batik.util.ParsedURL origURL, boolean needRawData)
static void <clinit>()

org.apache.batik.ext.awt.image.codec.png.PNGSuggestedPaletteEntry(Ci-dessous la liste des Méthodes de la classe)

public void <init>()

org.apache.batik.ext.awt.image.codec.png.PNGTranscoderInternalCodecWriteAdapter(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
public void writeImage(org.apache.batik.transcoder.image.PNGTranscoder transcoder, java.awt.image.BufferedImage img, org.apache.batik.transcoder.TranscoderOutput output)
		throws org.apache.batik.transcoder.TranscoderException

org.apache.batik.ext.awt.image.codec.tiff.TIFFDecodeParam(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
public void setDecodePaletteAsShorts(boolean decodePaletteAsShorts)
public boolean getDecodePaletteAsShorts()
public byte decode16BitsTo8Bits(int s)
public byte decodeSigned16BitsTo8Bits(short s)
public void setIFDOffset(long offset)
public Long getIFDOffset()
public void setJPEGDecompressYCbCrToRGB(boolean convertJPEGYCbCrToRGB)
public boolean getJPEGDecompressYCbCrToRGB()

org.apache.batik.ext.awt.image.codec.tiff.TIFFDirectory(Ci-dessous la liste des Méthodes de la classe)

void <init>()
private static boolean isValidEndianTag(int endian)
public void <init>(org.apache.batik.ext.awt.image.codec.util.SeekableStream stream, int directory)
		throws java.io.IOException
public void <init>(org.apache.batik.ext.awt.image.codec.util.SeekableStream stream, long ifd_offset, int directory)
		throws java.io.IOException
private void initialize(org.apache.batik.ext.awt.image.codec.util.SeekableStream stream)
		throws java.io.IOException
public int getNumEntries()
public org.apache.batik.ext.awt.image.codec.tiff.TIFFField getField(int tag)
public boolean isTagPresent(int tag)
public int[] getTags()
public org.apache.batik.ext.awt.image.codec.tiff.TIFFField[] getFields()
public byte getFieldAsByte(int tag, int index)
public byte getFieldAsByte(int tag)
public long getFieldAsLong(int tag, int index)
public long getFieldAsLong(int tag)
public float getFieldAsFloat(int tag, int index)
public float getFieldAsFloat(int tag)
public double getFieldAsDouble(int tag, int index)
public double getFieldAsDouble(int tag)
private short readShort(org.apache.batik.ext.awt.image.codec.util.SeekableStream stream)
		throws java.io.IOException
private int readUnsignedShort(org.apache.batik.ext.awt.image.codec.util.SeekableStream stream)
		throws java.io.IOException
private int readInt(org.apache.batik.ext.awt.image.codec.util.SeekableStream stream)
		throws java.io.IOException
private long readUnsignedInt(org.apache.batik.ext.awt.image.codec.util.SeekableStream stream)
		throws java.io.IOException
private long readLong(org.apache.batik.ext.awt.image.codec.util.SeekableStream stream)
		throws java.io.IOException
private float readFloat(org.apache.batik.ext.awt.image.codec.util.SeekableStream stream)
		throws java.io.IOException
private double readDouble(org.apache.batik.ext.awt.image.codec.util.SeekableStream stream)
		throws java.io.IOException
private static int readUnsignedShort(org.apache.batik.ext.awt.image.codec.util.SeekableStream stream, boolean isBigEndian)
		throws java.io.IOException
private static long readUnsignedInt(org.apache.batik.ext.awt.image.codec.util.SeekableStream stream, boolean isBigEndian)
		throws java.io.IOException
public static int getNumDirectories(org.apache.batik.ext.awt.image.codec.util.SeekableStream stream)
		throws java.io.IOException
public boolean isBigEndian()
public long getIFDOffset()
public long getNextIFDOffset()
static void <clinit>()

org.apache.batik.ext.awt.image.codec.tiff.TIFFEncodeParam(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
public int getCompression()
public void setCompression(int compression)
public boolean getWriteTiled()
public void setWriteTiled(boolean writeTiled)
public void setTileSize(int tileWidth, int tileHeight)
public int getTileWidth()
public int getTileHeight()
public synchronized void setExtraImages(java.util.Iterator extraImages)
public synchronized java.util.Iterator getExtraImages()
public void setDeflateLevel(int deflateLevel)
public int getDeflateLevel()
public void setJPEGCompressRGBToYCbCr(boolean convertJPEGRGBToYCbCr)
public boolean getJPEGCompressRGBToYCbCr()
public void setJPEGEncodeParam(com.sun.image.codec.jpeg.JPEGEncodeParam jpegEncodeParam)
public com.sun.image.codec.jpeg.JPEGEncodeParam getJPEGEncodeParam()
public void setExtraFields(org.apache.batik.ext.awt.image.codec.tiff.TIFFField[] extraFields)
public org.apache.batik.ext.awt.image.codec.tiff.TIFFField[] getExtraFields()

org.apache.batik.ext.awt.image.codec.tiff.TIFFFaxDecoder(Ci-dessous la liste des Méthodes de la classe)

public void <init>(int fillOrder, int w, int h)
public void decode1D(byte[] buffer, byte[] compData, int startX, int height)
public void decodeNextScanline(byte[] buffer, int lineOffset, int bitOffset)
public void decode2D(byte[] buffer, byte[] compData, int startX, int height, long tiffT4Options)
public synchronized void decodeT6(byte[] buffer, byte[] compData, int startX, int height, long tiffT6Options)
private void setToBlack(byte[] buffer, int lineOffset, int bitOffset, int numBits)
private int decodeWhiteCodeWord()
private int decodeBlackCodeWord()
private int readEOL()
private void getNextChangingElement(int a0, boolean isWhite, int[] ret)
private int nextNBits(int bitsToGet)
private int nextLesserThan8Bits(int bitsToGet)
private void updatePointer(int bitsToMoveBack)
private boolean advancePointer()
static void <clinit>()

org.apache.batik.ext.awt.image.codec.tiff.TIFFField(Ci-dessous la liste des Méthodes de la classe)

void <init>()
public void <init>(int tag, int type, int count, Object data)
public int getTag()
public int getType()
public int getCount()
public byte[] getAsBytes()
public char[] getAsChars()
public short[] getAsShorts()
public int[] getAsInts()
public long[] getAsLongs()
public float[] getAsFloats()
public double[] getAsDoubles()
public int[][] getAsSRationals()
public long[][] getAsRationals()
public int getAsInt(int index)
public long getAsLong(int index)
public float getAsFloat(int index)
public double getAsDouble(int index)
public String getAsString(int index)
public int[] getAsSRational(int index)
public long[] getAsRational(int index)
public int compareTo(Object o)

org.apache.batik.ext.awt.image.codec.tiff.TIFFImage(Ci-dessous la liste des Méthodes de la classe)

private static final java.awt.image.Raster decodeJPEG(byte[] data, com.sun.image.codec.jpeg.JPEGDecodeParam decodeParam, boolean colorConvert, int minX, int minY)
private final void inflate(byte[] deflated, byte[] inflated)
private static java.awt.image.SampleModel createPixelInterleavedSampleModel(int dataType, int tileWidth, int tileHeight, int bands)
private long[] getFieldAsLongs(org.apache.batik.ext.awt.image.codec.tiff.TIFFField field)
public void <init>(org.apache.batik.ext.awt.image.codec.util.SeekableStream stream, org.apache.batik.ext.awt.image.codec.tiff.TIFFDecodeParam param, int directory)
		throws java.io.IOException
public org.apache.batik.ext.awt.image.codec.tiff.TIFFDirectory getPrivateIFD(long offset)
		throws java.io.IOException
public java.awt.image.WritableRaster copyData(java.awt.image.WritableRaster wr)
public synchronized java.awt.image.Raster getTile(int tileX, int tileY)
private void readShorts(int shortCount, short[] shortArray)
private void readInts(int intCount, int[] intArray)
private void interpretBytesAsShorts(byte[] byteArray, short[] shortArray, int shortCount)
private void interpretBytesAsInts(byte[] byteArray, int[] intArray, int intCount)
private byte[] decodePackbits(byte[] data, int arraySize, byte[] dst)
private java.awt.image.ComponentColorModel createAlphaComponentColorModel(int dataType, int numBands, boolean isAlphaPremultiplied, int transparency)

org.apache.batik.ext.awt.image.codec.tiff.TIFFImageDecoder(Ci-dessous la liste des Méthodes de la classe)

public void <init>(org.apache.batik.ext.awt.image.codec.util.SeekableStream input, org.apache.batik.ext.awt.image.codec.util.ImageDecodeParam param)
public int getNumPages()
		throws java.io.IOException
public java.awt.image.RenderedImage decodeAsRenderedImage(int page)
		throws java.io.IOException

org.apache.batik.ext.awt.image.codec.tiff.TIFFImageEncoder(Ci-dessous la liste des Méthodes de la classe)

public void <init>(java.io.OutputStream output, org.apache.batik.ext.awt.image.codec.util.ImageEncodeParam param)
public void encode(java.awt.image.RenderedImage im)
		throws java.io.IOException
private int encode(java.awt.image.RenderedImage im, org.apache.batik.ext.awt.image.codec.tiff.TIFFEncodeParam encodeParam, int ifdOffset, boolean isLast)
		throws java.io.IOException
private int getDirectorySize(java.util.SortedSet fields)
private void writeFileHeader()
		throws java.io.IOException
private void writeDirectory(int thisIFDOffset, java.util.SortedSet fields, int nextIFDOffset)
		throws java.io.IOException
private static int getValueSize(org.apache.batik.ext.awt.image.codec.tiff.TIFFField field)
private void writeValuesAsFourBytes(org.apache.batik.ext.awt.image.codec.tiff.TIFFField field)
		throws java.io.IOException
private void writeValues(org.apache.batik.ext.awt.image.codec.tiff.TIFFField field)
		throws java.io.IOException
private void writeUnsignedShort(int s)
		throws java.io.IOException
private void writeLong(long l)
		throws java.io.IOException
private long getOffset(java.io.OutputStream out)
		throws java.io.IOException
private static int compressPackBits(byte[] data, int numRows, int bytesPerRow, byte[] compData)
private static int packBits(byte[] input, int inOffset, int inCount, byte[] output, int outOffset)
private static int deflate(java.util.jar.zip.Deflater deflater, byte[] inflated, byte[] deflated)
private static void modifyEncodeParam(com.sun.image.codec.jpeg.JPEGEncodeParam src, com.sun.image.codec.jpeg.JPEGEncodeParam dst, int nbands)
static void <clinit>()

org.apache.batik.ext.awt.image.codec.tiff.TIFFLZWDecoder(Ci-dessous la liste des Méthodes de la classe)

public void <init>(int w, int predictor, int samplesPerPixel)
public byte[] decode(byte[] data, byte[] uncompData, int h)
public void initializeStringTable()
public void writeString(byte[] string)
public void addStringToTable(byte[] oldString, byte newString)
public void addStringToTable(byte[] string)
public byte[] composeString(byte[] oldString, byte newString)
public int getNextCode()

org.apache.batik.ext.awt.image.codec.tiff.TIFFRegistryEntry(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
public org.apache.batik.ext.awt.image.renderable.Filter handleStream(java.io.InputStream inIS, org.apache.batik.util.ParsedURL origURL, boolean needRawData)
static void <clinit>()

org.apache.batik.ext.awt.image.codec.tiff.TIFFTranscoderInternalCodecWriteAdapter(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
public void writeImage(org.apache.batik.transcoder.image.TIFFTranscoder transcoder, java.awt.image.BufferedImage img, org.apache.batik.transcoder.TranscoderOutput output)
		throws org.apache.batik.transcoder.TranscoderException

org.apache.batik.ext.awt.image.codec.util.FileCacheSeekableStream(Ci-dessous la liste des Méthodes de la classe)

public void <init>(java.io.InputStream stream)
		throws java.io.IOException
private long readUntil(long pos)
		throws java.io.IOException
public boolean canSeekBackwards()
public long getFilePointer()
public void seek(long pos)
		throws java.io.IOException
public int read()
		throws java.io.IOException
public int read(byte[] b, int off, int len)
		throws java.io.IOException
public void close()
		throws java.io.IOException

org.apache.batik.ext.awt.image.codec.util.ForwardSeekableStream(Ci-dessous la liste des Méthodes de la classe)

public void <init>(java.io.InputStream src)
public final int read()
		throws java.io.IOException
public final int read(byte[] b, int off, int len)
		throws java.io.IOException
public final long skip(long n)
		throws java.io.IOException
public final int available()
		throws java.io.IOException
public final void close()
		throws java.io.IOException
public final synchronized void mark(int readLimit)
public final synchronized void reset()
		throws java.io.IOException
public boolean markSupported()
public final boolean canSeekBackwards()
public final long getFilePointer()
public final void seek(long pos)
		throws java.io.IOException

org.apache.batik.ext.awt.image.codec.util.ImageDecoder(Ci-dessous la liste des Méthodes de la classe)

public abstract org.apache.batik.ext.awt.image.codec.util.ImageDecodeParam getParam()
public abstract void setParam(org.apache.batik.ext.awt.image.codec.util.ImageDecodeParam arg1)
public abstract org.apache.batik.ext.awt.image.codec.util.SeekableStream getInputStream()
public abstract int getNumPages()
		throws java.io.IOException
public abstract java.awt.image.Raster decodeAsRaster()
		throws java.io.IOException
public abstract java.awt.image.Raster decodeAsRaster(int arg1)
		throws java.io.IOException
public abstract java.awt.image.RenderedImage decodeAsRenderedImage()
		throws java.io.IOException
public abstract java.awt.image.RenderedImage decodeAsRenderedImage(int arg1)
		throws java.io.IOException

org.apache.batik.ext.awt.image.codec.util.ImageDecoderImpl(Ci-dessous la liste des Méthodes de la classe)

public void <init>(org.apache.batik.ext.awt.image.codec.util.SeekableStream input, org.apache.batik.ext.awt.image.codec.util.ImageDecodeParam param)
public void <init>(java.io.InputStream input, org.apache.batik.ext.awt.image.codec.util.ImageDecodeParam param)
public org.apache.batik.ext.awt.image.codec.util.ImageDecodeParam getParam()
public void setParam(org.apache.batik.ext.awt.image.codec.util.ImageDecodeParam param)
public org.apache.batik.ext.awt.image.codec.util.SeekableStream getInputStream()
public int getNumPages()
		throws java.io.IOException
public java.awt.image.Raster decodeAsRaster()
		throws java.io.IOException
public java.awt.image.Raster decodeAsRaster(int page)
		throws java.io.IOException
public java.awt.image.RenderedImage decodeAsRenderedImage()
		throws java.io.IOException
public abstract java.awt.image.RenderedImage decodeAsRenderedImage(int arg1)
		throws java.io.IOException

org.apache.batik.ext.awt.image.codec.util.ImageEncoder(Ci-dessous la liste des Méthodes de la classe)

public abstract org.apache.batik.ext.awt.image.codec.util.ImageEncodeParam getParam()
public abstract void setParam(org.apache.batik.ext.awt.image.codec.util.ImageEncodeParam arg1)
public abstract java.io.OutputStream getOutputStream()
public abstract void encode(java.awt.image.Raster arg1, java.awt.image.ColorModel arg2)
		throws java.io.IOException
public abstract void encode(java.awt.image.RenderedImage arg1)
		throws java.io.IOException

org.apache.batik.ext.awt.image.codec.util.ImageEncoderImpl(Ci-dessous la liste des Méthodes de la classe)

public void <init>(java.io.OutputStream output, org.apache.batik.ext.awt.image.codec.util.ImageEncodeParam param)
public org.apache.batik.ext.awt.image.codec.util.ImageEncodeParam getParam()
public void setParam(org.apache.batik.ext.awt.image.codec.util.ImageEncodeParam param)
public java.io.OutputStream getOutputStream()
public void encode(java.awt.image.Raster ras, java.awt.image.ColorModel cm)
		throws java.io.IOException
public abstract void encode(java.awt.image.RenderedImage arg1)
		throws java.io.IOException

org.apache.batik.ext.awt.image.codec.util.MemoryCacheSeekableStream(Ci-dessous la liste des Méthodes de la classe)

public void <init>(java.io.InputStream src)
private long readUntil(long pos)
		throws java.io.IOException
public boolean canSeekBackwards()
public long getFilePointer()
public void seek(long pos)
		throws java.io.IOException
public int read()
		throws java.io.IOException
public int read(byte[] b, int off, int len)
		throws java.io.IOException

org.apache.batik.ext.awt.image.codec.util.PropertyUtil(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
public static String getString(String key)
static void <clinit>()

org.apache.batik.ext.awt.image.codec.util.SeekableOutputStream(Ci-dessous la liste des Méthodes de la classe)

public void <init>(java.io.RandomAccessFile file)
public void write(int b)
		throws java.io.IOException
public void write(byte[] b)
		throws java.io.IOException
public void write(byte[] b, int off, int len)
		throws java.io.IOException
public void flush()
		throws java.io.IOException
public void close()
		throws java.io.IOException
public long getFilePointer()
		throws java.io.IOException
public void seek(long pos)
		throws java.io.IOException

org.apache.batik.ext.awt.image.codec.util.SeekableStream(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
public static org.apache.batik.ext.awt.image.codec.util.SeekableStream wrapInputStream(java.io.InputStream is, boolean canSeekBackwards)
public abstract int read()
		throws java.io.IOException
public abstract int read(byte[] arg1, int arg2, int arg3)
		throws java.io.IOException
public synchronized void mark(int readLimit)
public synchronized void reset()
		throws java.io.IOException
public boolean markSupported()
public boolean canSeekBackwards()
public abstract long getFilePointer()
		throws java.io.IOException
public abstract void seek(long arg1)
		throws java.io.IOException
public final void readFully(byte[] b)
		throws java.io.IOException
public final void readFully(byte[] b, int off, int len)
		throws java.io.IOException
public int skipBytes(int n)
		throws java.io.IOException
public final boolean readBoolean()
		throws java.io.IOException
public final byte readByte()
		throws java.io.IOException
public final int readUnsignedByte()
		throws java.io.IOException
public final short readShort()
		throws java.io.IOException
public final short readShortLE()
		throws java.io.IOException
public final int readUnsignedShort()
		throws java.io.IOException
public final int readUnsignedShortLE()
		throws java.io.IOException
public final char readChar()
		throws java.io.IOException
public final char readCharLE()
		throws java.io.IOException
public final int readInt()
		throws java.io.IOException
public final int readIntLE()
		throws java.io.IOException
public final long readUnsignedInt()
		throws java.io.IOException
public final long readUnsignedIntLE()
		throws java.io.IOException
public final long readLong()
		throws java.io.IOException
public final long readLongLE()
		throws java.io.IOException
public final float readFloat()
		throws java.io.IOException
public final float readFloatLE()
		throws java.io.IOException
public final double readDouble()
		throws java.io.IOException
public final double readDoubleLE()
		throws java.io.IOException
public final String readLine()
		throws java.io.IOException
public final String readUTF()
		throws java.io.IOException
protected void finalize()
		throws java.lang.Throwable

org.apache.batik.ext.awt.image.codec.util.SimpleRenderedImage(Ci-dessous la liste des Méthodes de la classe)

public void <init>()
public int getMinX()
public final int getMaxX()
public int getMinY()
public final int getMaxY()
public int getWidth()
public int getHeight()
public java.awt.Rectangle getBounds()
public int getTileWidth()
public int getTileHeight()
public int getTileGridXOffset()
public int getTileGridYOffset()
public int getMinTileX()
public int getMaxTileX()
public int getNumXTiles()
public int getMinTileY()
public int getMaxTileY()
public int getNumYTiles()
public java.awt.image.SampleModel getSampleModel()
public java.awt.image.ColorModel getColorModel()
public Object getProperty(String name)
public String[] getPropertyNames()
public String[] getPropertyNames(String prefix)
public static int XToTileX(int x, int tileGridXOffset, int tileWidth)
public static int YToTileY(int y, int tileGridYOffset, int tileHeight)
public int XToTileX(int x)
public int YToTileY(int y)
public static int tileXToX(int tx, int tileGridXOffset, int tileWidth)
public static int tileYToY(int ty, int tileGridYOffset, int tileHeight)
public int tileXToX(int tx)
public int tileYToY(int ty)
public java.util.Vector getSources()
public java.awt.image.Raster getData()
public java.awt.image.Raster getData(java.awt.Rectangle bounds)
public java.awt.image.WritableRaster copyData(java.awt.image.WritableRaster dest)
public abstract java.awt.image.Raster getTile(int arg1, int arg2)

org.apache.batik.ext.awt.image.codec.util.SingleTileRenderedImage(Ci-dessous la liste des Méthodes de la classe)

public void <init>(java.awt.image.Raster ras, java.awt.image.ColorModel colorModel)
public java.awt.image.Raster getTile(int tileX, int tileY)

A Voir sur le même Sujet:

  • codec.jar download