it.geosolutions.imageio.plugins.grib1
Class GRIB1ImageReader
java.lang.Object
javax.imageio.ImageReader
it.geosolutions.imageio.ndplugin.BaseImageReader
it.geosolutions.imageio.plugins.grib1.GRIB1ImageReader
public class GRIB1ImageReader
- extends BaseImageReader
GRIB1ImageReader
is a ImageReader
able to create
RenderedImage
from GRIB1 sources.
- Author:
- Daniele Romagnoli, GeoSolutions, Alessio Fabiani, GeoSolutions
Fields inherited from class javax.imageio.ImageReader |
availableLocales, ignoreMetadata, input, locale, minIndex, originatingProvider, progressListeners, seekForwardOnly, updateListeners, warningListeners, warningLocales |
Methods inherited from class javax.imageio.ImageReader |
abort, abortRequested, addIIOReadProgressListener, addIIOReadUpdateListener, addIIOReadWarningListener, canReadRaster, checkReadParamBandSettings, clearAbortRequest, computeRegions, getAspectRatio, getAvailableLocales, getDefaultReadParam, getDestination, getFormatName, getImageMetadata, getInput, getLocale, getMinIndex, getNumThumbnails, getOriginatingProvider, getRawImageType, getSourceRegion, getStreamMetadata, getThumbnailHeight, getThumbnailWidth, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, hasThumbnails, isIgnoringMetadata, isImageTiled, isRandomAccessEasy, isSeekForwardOnly, processImageComplete, processImageProgress, processImageStarted, processImageUpdate, processPassComplete, processPassStarted, processReadAborted, processSequenceComplete, processSequenceStarted, processThumbnailComplete, processThumbnailPassComplete, processThumbnailPassStarted, processThumbnailProgress, processThumbnailStarted, processThumbnailUpdate, processWarningOccurred, processWarningOccurred, read, readAll, readAll, readAsRenderedImage, readerSupportsThumbnails, readRaster, readThumbnail, readTile, readTileRaster, removeAllIIOReadProgressListeners, removeAllIIOReadUpdateListeners, removeAllIIOReadWarningListeners, removeIIOReadProgressListener, removeIIOReadUpdateListener, removeIIOReadWarningListener, reset, setLocale |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
protected static final Logger LOGGER
GRIB1ImageReader
public GRIB1ImageReader(ImageReaderSpi originatingProvider)
setInput
public void setInput(Object input,
boolean seekForwardOnly,
boolean ignoreMetadata)
- Overrides:
setInput
in class ImageReader
setInput
public void setInput(Object input,
boolean seekForwardOnly)
- Overrides:
setInput
in class ImageReader
setInput
public void setInput(Object input)
- Overrides:
setInput
in class ImageReader
getWidth
public int getWidth(int imageIndex)
throws IOException
- Returns the width of the specified image.
- Specified by:
getWidth
in class ImageReader
- Parameters:
imageIndex
- the index of the required image
- Returns:
- the width of the specified image.
- Throws:
IOException
getHeight
public int getHeight(int imageIndex)
throws IOException
- Returns the height of the specified image.
- Specified by:
getHeight
in class ImageReader
- Parameters:
imageIndex
- the index of the required image
- Returns:
- the height of the specified image.
- Throws:
IOException
read
public BufferedImage read(int imageIndex,
ImageReadParam param)
throws IOException
- Specified by:
read
in class ImageReader
- Throws:
IOException
- See Also:
ImageReader.read(int, javax.imageio.ImageReadParam)
getStreamMetadata
public IIOMetadata getStreamMetadata()
- Specified by:
getStreamMetadata
in class ImageReader
getImageMetadata
public IIOMetadata getImageMetadata(int imageIndex)
throws IOException
- Specified by:
getImageMetadata
in class ImageReader
- Throws:
IOException
dispose
public void dispose()
- Allows any resources held by this reader to be released.
- Overrides:
dispose
in class BaseImageReader
getImageTypes
public Iterator<ImageTypeSpecifier> getImageTypes(int imageIndex)
throws IOException
- Specified by:
getImageTypes
in class ImageReader
- Throws:
IOException
Copyright © 2006–2014 GeoSolutions. All rights reserved.