Package com.io7m.calino.api
Interface CLNSectionReadableImage2DType
- All Superinterfaces:
AutoCloseable
,CLNSectionReadableStandardType
,CLNSectionReadableType
,Closeable
- All Known Implementing Classes:
CLN1SectionReadableImage2D
A readable 2D image section.
-
Method Summary
Modifier and TypeMethodDescriptionmipMapDataRaw
(CLNImage2DDescription description) Obtain a readable channel that returns potentially compressed data.mipMapDataWithoutSupercompression
(CLNImage2DDescription description) Obtain a readable channel that returns decompressed data (that is, data with any supercompression removed).Methods inherited from interface com.io7m.calino.api.CLNSectionReadableType
description, fileSectionDescription, sectionDataChannel
-
Method Details
-
mipMapDescriptions
- Returns:
- The set of declared mipmaps
- Throws:
IOException
- On errors
-
mipMapDataWithoutSupercompression
ReadableByteChannel mipMapDataWithoutSupercompression(CLNImage2DDescription description) throws IOException Obtain a readable channel that returns decompressed data (that is, data with any supercompression removed).- Parameters:
description
- The image description- Returns:
- A readable channel
- Throws:
IOException
- On I/O errors
-
mipMapDataRaw
Obtain a readable channel that returns potentially compressed data. The bytes returned by the channel are not interpreted in any form, and are exactly as they appeared in the underlying file.- Parameters:
description
- The image description- Returns:
- A readable channel
- Throws:
IOException
- On I/O errors
-