public class GodPaintReader extends BaseImageReader implements JImageReader
availableLocales, ignoreMetadata, input, locale, minIndex, originatingProvider, progressListeners, seekForwardOnly, updateListeners, warningListeners, warningLocales
Constructor and Description |
---|
GodPaintReader(ImageReaderSpi originatingProvider) |
GodPaintReader(String string) |
Modifier and Type | Method and Description |
---|---|
static boolean |
canReadImage(ImageInputStream iis) |
int |
getHeight()
Returns the height of the image in pixels.
|
BufferedImage |
getImage()
Returns the BufferedImage that has been created from this ImageReader.
|
String |
getMetadataSummary()
Returns a summary of the image's metadata.
|
int |
getWidth()
Returns the width of the image in pixels.
|
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, 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
public GodPaintReader(String string)
public GodPaintReader(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.public void readFile()
public void parse()
BaseImageReader
parse
in class BaseImageReader
public BufferedImage getImage()
BaseImageReader
getImage
in interface JImageReader
getImage
in class BaseImageReader
public int getWidth()
BaseImageReader
getWidth
in interface JImageReader
getWidth
in class BaseImageReader
public int getHeight()
BaseImageReader
getHeight
in interface JImageReader
getHeight
in class BaseImageReader
public String getMetadataSummary()
JImageReader
getMetadataSummary
in interface JImageReader
public static boolean canReadImage(ImageInputStream iis)
Copyright © 2020. All rights reserved.