public class DrHaloReader extends BaseImageReader implements JImageReader
availableLocales, ignoreMetadata, input, locale, minIndex, originatingProvider, progressListeners, seekForwardOnly, updateListeners, warningListeners, warningLocales
Constructor and Description |
---|
DrHaloReader(ImageReaderSpi originatingProvider) |
DrHaloReader(String fileName) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Returns the height of the image in pixels.
|
String |
getMetadataSummary()
Returns a summary of the image's metadata.
|
int |
getWidth()
Returns the width of the image in pixels.
|
protected void |
parse()
Parses the image from the internal buffer, to an internal representation.
|
void |
processFile()
Reads and parses a file, and stores a BufferedImage; this is the method
you will use most often.
|
void |
readFile() |
createBufferedImage, getHeight, getImage, getImageMetadata, getImageTypes, getNumImages, getStreamMetadata, getWidth, read, readFile, readFile
abort, abortRequested, addIIOReadProgressListener, addIIOReadUpdateListener, addIIOReadWarningListener, canReadRaster, checkReadParamBandSettings, clearAbortRequest, computeRegions, dispose, 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, setInput, setInput, setInput, setLocale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getImage
public DrHaloReader(String fileName)
public DrHaloReader(ImageReaderSpi originatingProvider)
public void processFile() throws IllegalDataException, UnsupportedVariantException
BaseImageReader
processFile
in interface JImageReader
processFile
in class BaseImageReader
IllegalDataException
- If illegal data is encountered.UnsupportedVariantException
- If an unsupported variant of the image
format is encountered.protected void parse()
BaseImageReader
parse
in class BaseImageReader
public void readFile()
public int getHeight()
BaseImageReader
getHeight
in interface JImageReader
getHeight
in class BaseImageReader
public int getWidth()
BaseImageReader
getWidth
in interface JImageReader
getWidth
in class BaseImageReader
public String getMetadataSummary()
JImageReader
getMetadataSummary
in interface JImageReader
Copyright © 2020. All rights reserved.