| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ImageTypeSpecifier | |
|---|---|
| javax.imageio | The main package of the Java Image I/O API. | 
| javax.imageio.metadata | A package of the Java Image I/O API dealing with reading and writing metadata. | 
| javax.imageio.spi | A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry. | 
| Uses of ImageTypeSpecifier in javax.imageio | 
|---|
| Fields in javax.imageio declared as ImageTypeSpecifier | |
|---|---|
| protected  ImageTypeSpecifier | IIOParam.destinationTypeAn ImageTypeSpecifierto be used to generate a
 destination image when reading, or to set the output color type
 when writing. | 
| Methods in javax.imageio that return ImageTypeSpecifier | |
|---|---|
| static ImageTypeSpecifier | ImageTypeSpecifier.createBanded(ColorSpace colorSpace,
             int[] bankIndices,
             int[] bandOffsets,
             int dataType,
             boolean hasAlpha,
             boolean isAlphaPremultiplied)Returns a specifier for a banded image format that will use a ComponentColorModeland aBandedSampleModelto store each channel in a
 separate array. | 
| static ImageTypeSpecifier | ImageTypeSpecifier.createFromBufferedImageType(int bufferedImageType)Returns an ImageTypeSpecifierthat encodes
 one of the standardBufferedImagetypes
 (other thanTYPE_CUSTOM). | 
| static ImageTypeSpecifier | ImageTypeSpecifier.createFromRenderedImage(RenderedImage image)Returns an ImageTypeSpecifierthat encodes the
 layout of aRenderedImage(which may be aBufferedImage). | 
| static ImageTypeSpecifier | ImageTypeSpecifier.createGrayscale(int bits,
                int dataType,
                boolean isSigned)Returns a specifier for a grayscale image format that will pack pixels of the given bit depth into array elements of the specified data type. | 
| static ImageTypeSpecifier | ImageTypeSpecifier.createGrayscale(int bits,
                int dataType,
                boolean isSigned,
                boolean isAlphaPremultiplied)Returns a specifier for a grayscale plus alpha image format that will pack pixels of the given bit depth into array elements of the specified data type. | 
| static ImageTypeSpecifier | ImageTypeSpecifier.createIndexed(byte[] redLUT,
              byte[] greenLUT,
              byte[] blueLUT,
              byte[] alphaLUT,
              int bits,
              int dataType)Returns a specifier for an indexed-color image format that will pack index values of the given bit depth into array elements of the specified data type. | 
| static ImageTypeSpecifier | ImageTypeSpecifier.createInterleaved(ColorSpace colorSpace,
                  int[] bandOffsets,
                  int dataType,
                  boolean hasAlpha,
                  boolean isAlphaPremultiplied)Returns a specifier for an interleaved image format that will use a ComponentColorModeland aPixelInterleavedSampleModelto store each pixel
 component in a separate byte, short, or int. | 
| static ImageTypeSpecifier | ImageTypeSpecifier.createPacked(ColorSpace colorSpace,
             int redMask,
             int greenMask,
             int blueMask,
             int alphaMask,
             int transferType,
             boolean isAlphaPremultiplied)Returns a specifier for a packed image format that will use a DirectColorModeland a packedSampleModelto store each pixel packed into in a
 single byte, short, or int. | 
|  ImageTypeSpecifier | IIOParam.getDestinationType()Returns the type of image to be returned by the read, if one was set by a call to setDestination(ImageTypeSpecifier), as anImageTypeSpecifier. | 
|  ImageTypeSpecifier | ImageReader.getRawImageType(int imageIndex)Returns an ImageTypeSpecifierindicating theSampleModelandColorModelwhich most
 closely represents the "raw" internal format of the image. | 
| Methods in javax.imageio that return types with arguments of type ImageTypeSpecifier | |
|---|---|
| abstract  Iterator<ImageTypeSpecifier> | ImageReader.getImageTypes(int imageIndex)Returns an Iteratorcontaining possible image
 types to which the given image may be decoded, in the form ofImageTypeSpecifierss. | 
| Methods in javax.imageio with parameters of type ImageTypeSpecifier | |
|---|---|
|  IIOMetadata | ImageTranscoder.convertImageMetadata(IIOMetadata inData,
                     ImageTypeSpecifier imageType,
                     ImageWriteParam param)Returns an IIOMetadataobject that may be used for
 encoding and optionally modified using its document interfaces
 or other interfaces specific to the writer plug-in that will be
 used for encoding. | 
| abstract  IIOMetadata | ImageWriter.convertImageMetadata(IIOMetadata inData,
                     ImageTypeSpecifier imageType,
                     ImageWriteParam param) | 
| abstract  IIOMetadata | ImageWriter.getDefaultImageMetadata(ImageTypeSpecifier imageType,
                        ImageWriteParam param)Returns an IIOMetadataobject containing default
 values for encoding an image of the given type. | 
| static Iterator<ImageWriter> | ImageIO.getImageWriters(ImageTypeSpecifier type,
                String formatName)Returns an Iteratorcontaining all currently
 registeredImageWriters that claim to be able to
 encode images of the given layout (specified using anImageTypeSpecifier) in the given format. | 
|  int | ImageWriter.getNumThumbnailsSupported(ImageTypeSpecifier imageType,
                          ImageWriteParam param,
                          IIOMetadata streamMetadata,
                          IIOMetadata imageMetadata)Returns the number of thumbnails suported by the format being written, given the image type and any additional write parameters and metadata objects that will be used during encoding. | 
|  Dimension[] | ImageWriter.getPreferredThumbnailSizes(ImageTypeSpecifier imageType,
                           ImageWriteParam param,
                           IIOMetadata streamMetadata,
                           IIOMetadata imageMetadata)Returns an array of Dimensions indicating the
 legal size ranges for thumbnail images as they will be encoded
 in the output file or stream. | 
|  void | ImageWriter.prepareInsertEmpty(int imageIndex,
                   ImageTypeSpecifier imageType,
                   int width,
                   int height,
                   IIOMetadata imageMetadata,
                   List<? extends BufferedImage> thumbnails,
                   ImageWriteParam param)Begins the insertion of a new image with undefined pixel values into an existing image stream. | 
|  void | ImageWriter.prepareWriteEmpty(IIOMetadata streamMetadata,
                  ImageTypeSpecifier imageType,
                  int width,
                  int height,
                  IIOMetadata imageMetadata,
                  List<? extends BufferedImage> thumbnails,
                  ImageWriteParam param)Begins the writing of a complete image stream, consisting of a single image with undefined pixel values and associated metadata and thumbnails, to the output. | 
|  void | ImageReadParam.setDestinationType(ImageTypeSpecifier destinationType) | 
|  void | IIOParam.setDestinationType(ImageTypeSpecifier destinationType)Sets the desired image type for the destination image, using an ImageTypeSpecifier. | 
| Method parameters in javax.imageio with type arguments of type ImageTypeSpecifier | |
|---|---|
| protected static BufferedImage | ImageReader.getDestination(ImageReadParam param,
               Iterator<ImageTypeSpecifier> imageTypes,
               int width,
               int height)Returns the BufferedImageto which decoded pixel
 data should be written. | 
| Uses of ImageTypeSpecifier in javax.imageio.metadata | 
|---|
| Methods in javax.imageio.metadata with parameters of type ImageTypeSpecifier | |
|---|---|
| abstract  boolean | IIOMetadataFormatImpl.canNodeAppear(String elementName,
              ImageTypeSpecifier imageType) | 
|  boolean | IIOMetadataFormat.canNodeAppear(String elementName,
              ImageTypeSpecifier imageType)Returns trueif the element (and the subtree below
 it) is allowed to appear in a metadata document for an image of
 the given type, defined by anImageTypeSpecifier. | 
| Uses of ImageTypeSpecifier in javax.imageio.spi | 
|---|
| Methods in javax.imageio.spi with parameters of type ImageTypeSpecifier | |
|---|---|
| abstract  boolean | ImageWriterSpi.canEncodeImage(ImageTypeSpecifier type)Returns trueif theImageWriterimplementation associated with this service provider is able to
 encode an image with the given layout. | 
| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.