KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > imageio > ImageReader

javax.imageio
Class ImageReader

java.lang.Object
  extended by javax.imageio.ImageReader
See Also:
Top Examples, Source Code, ImageWriter, IIORegistry, ImageReaderSpi

public void abort()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean abortRequested()
See Also:
clearAbortRequest(), abort()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void addIIOReadProgressListener(IIOReadProgressListener listener)
See Also:
removeIIOReadProgressListener(javax.imageio.event.IIOReadProgressListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void addIIOReadUpdateListener(IIOReadUpdateListener listener)
See Also:
removeIIOReadUpdateListener(javax.imageio.event.IIOReadUpdateListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void addIIOReadWarningListener(IIOReadWarningListener listener)
See Also:
removeIIOReadWarningListener(javax.imageio.event.IIOReadWarningListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Locale[] availableLocales
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean canReadRaster()
See Also:
readTileRaster(int, int, int), readRaster(int, javax.imageio.ImageReadParam), Raster
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static void checkReadParamBandSettings(ImageReadParam param,
                                                 int numSrcBands,
                                                 int numDstBands)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void clearAbortRequest()
See Also:
abortRequested(), abort()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static void computeRegions(ImageReadParam param,
                                     int srcWidth,
                                     int srcHeight,
                                     BufferedImage image,
                                     Rectangle srcRegion,
                                     Rectangle destRegion)
See Also:
IllegalArgumentException, getSourceRegion
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void dispose()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public float getAspectRatio(int imageIndex)
                     throws IOException
See Also:
IndexOutOfBoundsException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Locale[] getAvailableLocales()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ImageReadParam getDefaultReadParam()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static BufferedImage getDestination(ImageReadParam param,
                                              Iterator<ImageTypeSpecifier> imageTypes,
                                              int width,
                                              int height)
                                       throws IIOException
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getFormatName()
                     throws IOException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[311]Find Image reader
By Anonymous on 2003/07/14 05:53:33  Rate
String formatName = new getFormatName ( uploadFile ) ;         
             ImageReader reader =  ( ImageReader ) ImageIO.getImageReadersByFormatName ( formatName ) .next (  ) ;     
          
             upResponse.println ( "Found reader " + reader ) ;     
 


public abstract int getHeight(int imageIndex)
                       throws IOException
See Also:
IndexOutOfBoundsException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract IIOMetadata getImageMetadata(int imageIndex)
                                      throws IOException
See Also:
IndexOutOfBoundsException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public IIOMetadata getImageMetadata(int imageIndex,
                                    String formatName,
                                    Set<String> nodeNames)
                             throws IOException
See Also:
IllegalArgumentException, IndexOutOfBoundsException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract Iterator<ImageTypeSpecifier> getImageTypes(int imageIndex)
                                                    throws IOException
See Also:
ImageReadParam.setDestinationType(ImageTypeSpecifier), ImageReadParam.setDestination(BufferedImage), IndexOutOfBoundsException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Object getInput()
See Also:
setInput(java.lang.Object, boolean, boolean), ImageInputStream
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Locale getLocale()
See Also:
setLocale(java.util.Locale)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getMinIndex()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract int getNumImages(boolean allowSearch)
                          throws IOException
See Also:
setInput(java.lang.Object, boolean, boolean), IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getNumThumbnails(int imageIndex)
                     throws IOException
See Also:
IndexOutOfBoundsException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ImageReaderSpi getOriginatingProvider()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ImageTypeSpecifier getRawImageType(int imageIndex)
                                   throws IOException
See Also:
IndexOutOfBoundsException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static Rectangle getSourceRegion(ImageReadParam param,
                                           int srcWidth,
                                           int srcHeight)
See Also:
computeRegions
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract IIOMetadata getStreamMetadata()
                                       throws IOException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public IIOMetadata getStreamMetadata(String formatName,
                                     Set<String> nodeNames)
                              throws IOException
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getThumbnailHeight(int imageIndex,
                              int thumbnailIndex)
                       throws IOException
See Also:
IndexOutOfBoundsException, IllegalStateException, UnsupportedOperationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getThumbnailWidth(int imageIndex,
                             int thumbnailIndex)
                      throws IOException
See Also:
IndexOutOfBoundsException, IllegalStateException, UnsupportedOperationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getTileGridXOffset(int imageIndex)
                       throws IOException
See Also:
IndexOutOfBoundsException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getTileGridYOffset(int imageIndex)
                       throws IOException
See Also:
IndexOutOfBoundsException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getTileHeight(int imageIndex)
                  throws IOException
See Also:
IndexOutOfBoundsException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getTileWidth(int imageIndex)
                 throws IOException
See Also:
IndexOutOfBoundsException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract int getWidth(int imageIndex)
                      throws IOException
See Also:
IndexOutOfBoundsException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean hasThumbnails(int imageIndex)
                      throws IOException
See Also:
IndexOutOfBoundsException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean ignoreMetadata
See Also:
setInput(java.lang.Object, boolean, boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected ImageReader(ImageReaderSpi originatingProvider)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Object input
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isIgnoringMetadata()
See Also:
setInput(java.lang.Object, boolean, boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isImageTiled(int imageIndex)
                     throws IOException
See Also:
IndexOutOfBoundsException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isRandomAccessEasy(int imageIndex)
                           throws IOException
See Also:
IndexOutOfBoundsException, IllegalStateException, isImageTiled
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isSeekForwardOnly()
See Also:
setInput(java.lang.Object, boolean, boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Locale locale
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int minIndex
See Also:
setInput(java.lang.Object, boolean, boolean), seekForwardOnly
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected ImageReaderSpi originatingProvider
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processImageComplete()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processImageProgress(float percentageDone)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processImageStarted(int imageIndex)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processImageUpdate(BufferedImage theImage,
                                  int minX,
                                  int minY,
                                  int width,
                                  int height,
                                  int periodX,
                                  int periodY,
                                  int[] bands)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processPassComplete(BufferedImage theImage)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processPassStarted(BufferedImage theImage,
                                  int pass,
                                  int minPass,
                                  int maxPass,
                                  int minX,
                                  int minY,
                                  int periodX,
                                  int periodY,
                                  int[] bands)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processReadAborted()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processSequenceComplete()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processSequenceStarted(int minIndex)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processThumbnailComplete()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processThumbnailPassComplete(BufferedImage theThumbnail)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processThumbnailPassStarted(BufferedImage theThumbnail,
                                           int pass,
                                           int minPass,
                                           int maxPass,
                                           int minX,
                                           int minY,
                                           int periodX,
                                           int periodY,
                                           int[] bands)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processThumbnailProgress(float percentageDone)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processThumbnailStarted(int imageIndex,
                                       int thumbnailIndex)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processThumbnailUpdate(BufferedImage theThumbnail,
                                      int minX,
                                      int minY,
                                      int width,
                                      int height,
                                      int periodX,
                                      int periodY,
                                      int[] bands)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processWarningOccurred(String warning)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processWarningOccurred(String baseName,
                                      String keyword)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected List<IIOReadProgressListener> progressListeners
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public BufferedImage read(int imageIndex)
                   throws IOException
See Also:
IndexOutOfBoundsException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract BufferedImage read(int imageIndex,
                                   ImageReadParam param)
                            throws IOException
See Also:
IllegalArgumentException, IndexOutOfBoundsException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public IIOImage readAll(int imageIndex,
                        ImageReadParam param)
                 throws IOException
See Also:
IllegalArgumentException, IndexOutOfBoundsException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Iterator<IIOImage> readAll(Iterator<? extends ImageReadParam> params)
                           throws IOException
See Also:
IllegalArgumentException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public RenderedImage readAsRenderedImage(int imageIndex,
                                         ImageReadParam param)
                                  throws IOException
See Also:
IllegalArgumentException, IndexOutOfBoundsException, IllegalStateException, read(imageIndex, param)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean readerSupportsThumbnails()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Raster readRaster(int imageIndex,
                         ImageReadParam param)
                  throws IOException
See Also:
read(int), canReadRaster(), IndexOutOfBoundsException, IllegalStateException, UnsupportedOperationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public BufferedImage readThumbnail(int imageIndex,
                                   int thumbnailIndex)
                            throws IOException
See Also:
IndexOutOfBoundsException, IllegalStateException, UnsupportedOperationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public BufferedImage readTile(int imageIndex,
                              int tileX,
                              int tileY)
                       throws IOException
See Also:
IllegalArgumentException, IndexOutOfBoundsException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Raster readTileRaster(int imageIndex,
                             int tileX,
                             int tileY)
                      throws IOException
See Also:
readRaster(int, javax.imageio.ImageReadParam), readTile(int, int, int), IndexOutOfBoundsException, IllegalStateException, IllegalArgumentException, UnsupportedOperationException, canReadRaster()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeAllIIOReadProgressListeners()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeAllIIOReadUpdateListeners()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeAllIIOReadWarningListeners()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeIIOReadProgressListener(IIOReadProgressListener listener)
See Also:
addIIOReadProgressListener(javax.imageio.event.IIOReadProgressListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeIIOReadUpdateListener(IIOReadUpdateListener listener)
See Also:
addIIOReadUpdateListener(javax.imageio.event.IIOReadUpdateListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeIIOReadWarningListener(IIOReadWarningListener listener)
See Also:
addIIOReadWarningListener(javax.imageio.event.IIOReadWarningListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void reset()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean seekForwardOnly
See Also:
setInput(java.lang.Object, boolean, boolean), minIndex
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setInput(Object input)
See Also:
getInput(), IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setInput(Object input,
                     boolean seekForwardOnly)
See Also:
getInput(), IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setInput(Object input,
                     boolean seekForwardOnly,
                     boolean ignoreMetadata)
See Also:
ImageReaderSpi.getInputTypes(), getInput(), ImageInputStream, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setLocale(Locale locale)
See Also:
getLocale(), IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected List<IIOReadUpdateListener> updateListeners
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected List<IIOReadWarningListener> warningListeners
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected List<Locale> warningLocales
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags