Add support for subblocks to handle +2GiB compressed images

This commit is contained in:
2024-03-17 14:40:54 +01:00
parent 899fe98233
commit 4db1d86530
2 changed files with 98 additions and 19 deletions
+1
View File
@@ -180,6 +180,7 @@ struct LIBXISF_EXPORT DataBlock
uint64_t attachmentPos = 0;
uint64_t attachmentSize = 0;
uint64_t uncompressedSize = 0;
std::vector<std::pair<uint64_t, uint64_t>> subblocks;
CompressionCodec codec = None;
int compressLevel = -1;
ByteArray data;