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 intprivate final InputStreamprivate GenericImageMetadataprivate static final Patternprivate static final byte[]private int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private static voiddecompress(InputStream in, byte[] out) (package private) int(package private) ImageMetadata(package private) float[][](package private) intgetWidth()private voidprivate void
-
Field Details
-
HEADER
private static final byte[] HEADER -
RESOLUTION_STRING
-
TWO_TWO
private static final byte[] TWO_TWO -
in
-
metadata
-
width
private int width -
height
private int height
-
-
Constructor Details
-
RgbeInfo
RgbeInfo(ByteSource byteSource) throws IOException - Throws:
IOException
-
-
Method Details
-
decompress
- Throws:
IOExceptionImagingException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getHeight
- Throws:
IOExceptionImagingException
-
getMetadata
- Throws:
IOExceptionImagingException
-
getPixelData
- Throws:
IOExceptionImagingException
-
getWidth
- Throws:
IOExceptionImagingException
-
readDimensions
- Throws:
IOExceptionImagingException
-
readMetadata
- Throws:
IOExceptionImagingException
-