Class RgbeInfo
java.lang.Object
org.apache.commons.imaging.formats.rgbe.RgbeInfo
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]
private int
private final InputStream
private GenericImageMetadata
private static final Pattern
private static final byte[]
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private static void
decompress
(InputStream in, byte[] out) (package private) int
(package private) ImageMetadata
float[][]
(package private) int
getWidth()
private void
private void
-
Field Details
-
HEADER
private static final byte[] HEADER -
RESOLUTION_STRING
-
in
-
metadata
-
width
private int width -
height
private int height -
TWO_TWO
private static final byte[] TWO_TWO
-
-
Constructor Details
-
RgbeInfo
RgbeInfo(ByteSource byteSource) throws IOException - Throws:
IOException
-
-
Method Details
-
getMetadata
- Throws:
IOException
ImageReadException
-
getWidth
- Throws:
IOException
ImageReadException
-
getHeight
- Throws:
IOException
ImageReadException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
readDimensions
- Throws:
IOException
ImageReadException
-
readMetadata
- Throws:
IOException
ImageReadException
-
getPixelData
- Throws:
IOException
ImageReadException
-
decompress
- Throws:
IOException
ImageReadException
-