public class PNGRegistryEntry extends MagicNumberRegistryEntry
MagicNumberRegistryEntry.MagicNumber
PRIORITY
ERR_STREAM_FORMAT_UNREADABLE, ERR_STREAM_UNREADABLE, ERR_URL_FORMAT_UNREADABLE, ERR_URL_UNINTERPRETABLE, ERR_URL_UNREACHABLE, RESOURCES
Constructor and Description |
---|
PNGRegistryEntry() |
Modifier and Type | Method and Description |
---|---|
Filter |
handleStream(java.io.InputStream inIS,
ParsedURL origURL,
boolean needRawData)
Decode the Stream into a RenderableImage
|
getReadlimit, isCompatibleStream
getFormatName, getMimeTypes, getPriority, getStandardExtensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFormatName, getMimeTypes, getPriority, getStandardExtensions
public Filter handleStream(java.io.InputStream inIS, ParsedURL origURL, boolean needRawData)
inIS
- The input stream that contains the image.origURL
- The original URL, if any, for documentation
purposes only. This may be null.needRawData
- If true the image returned should not have
any default color correction the file may
specify applied.Copyright © 2022 Apache Software Foundation. All Rights Reserved.