javax > javax.imageio > javax.imageio.imagetypespecifier >

Class: javax.imageio.ImageTypeSpecifier
    java.lang.Object
       javax.imageio.ImageTypeSpecifier


public class ImageTypeSpecifier extends Object


FIELDS:
protected ColorModel colorModel
protected SampleModel sampleModel

CONSTRUCTORS:
public ImageTypeSpecifier(ColorModel colorModel, SampleModel sampleModel)

public ImageTypeSpecifier(RenderedImage image)


METHODS:
public static ImageTypeSpecifier createBanded(ColorSpace colorSpace, int[] bankIndices, int[] bandOffsets, int dataType, boolean hasAlpha, boolean isAlphaPremultiplied)
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException

public BufferedImage createBufferedImage(int width, int height)
Throws: IllegalArgumentException
Throws: IllegalArgumentException

public static ImageTypeSpecifier createFromBufferedImageType(int bufferedImageType)
Throws: IllegalArgumentException

public static ImageTypeSpecifier createFromRenderedImage(RenderedImage image)
Throws: IllegalArgumentException

public static ImageTypeSpecifier createGrayscale(int bits, int dataType, boolean isSigned)
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException

public static ImageTypeSpecifier createGrayscale(int bits, int dataType, boolean isSigned, boolean isAlphaPremultiplied)
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException

public static ImageTypeSpecifier createIndexed(byte[] redLUT, byte[] greenLUT, byte[] blueLUT, byte[] alphaLUT, int bits, int dataType)
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException

public static ImageTypeSpecifier createInterleaved(ColorSpace colorSpace, int[] bandOffsets, int dataType, boolean hasAlpha, boolean isAlphaPremultiplied)
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException

public static ImageTypeSpecifier createPacked(ColorSpace colorSpace, int redMask, int greenMask, int blueMask, int alphaMask, int transferType, boolean isAlphaPremultiplied)
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException

public boolean equals(Object o)
Overrides: Object

public int getBitsPerBand(int band)
Throws: IllegalArgumentException

public int getBufferedImageType()

public ColorModel getColorModel()

public int getNumBands()

public int getNumComponents()

public SampleModel getSampleModel()

public SampleModel getSampleModel(int width, int height)
Throws: IllegalArgumentException
Throws: IllegalArgumentException

public int hashCode()
Overrides: Object


INHERITED METHODS:
getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net