Expand description
Composable structures to handle reading an image.
Structs
- Decode all chunks in the file without seeking. The decoded chunks can be decompressed by callingdecompress_parallel,decompress_sequential, orsequential_decompressororparallel_decompressor. Callon_progressto have a callback with each block. Also contains the image meta data.
- Decode the desired chunks and skip the unimportant chunks in the file. The decoded chunks can be decompressed by callingdecompress_parallel,decompress_sequential, orsequential_decompressororparallel_decompressor. Callon_progressto have a callback with each block. Also contains the image meta data.
- Decode chunks in the file without seeking. Calls the supplied closure for each chunk. The decoded chunks can be decompressed by callingdecompress_parallel,decompress_sequential, orsequential_decompressor. Also contains the image meta data.
- Decompress the chunks in a file in parallel. The first call tonextwill fill the thread pool with jobs, starting to decompress the next few blocks. These jobs will finish, even if you stop reading more blocks. Implements iterator.
- Decode the meta data from a byte source, keeping the source ready for further reading. Continue decoding the remaining bytes by callingfiltered_chunksorall_chunks.
- Read all chunks from the file, decompressing each chunk immediately. Implements iterator.
Traits
- Decode chunks in the file. The decoded chunks can be decompressed by callingdecompress_parallel,decompress_sequential, orsequential_decompressor. Callon_progressto have a callback with each block. Also contains the image meta data.