libCZI
Reading and Writing CZI documents made easy
Loading...
Searching...
No Matches
libCZI::AddSubBlockInfoStridedBitmap Struct Reference

#include <libCZI_Write.h>

Inheritance diagram for libCZI::AddSubBlockInfoStridedBitmap:
libCZI::AddSubBlockInfoBase

Public Member Functions

 AddSubBlockInfoStridedBitmap ()
 Default constructor.
 
void Clear () override
 Clears this object to its blank/initial state.
 
- Public Member Functions inherited from libCZI::AddSubBlockInfoBase
 AddSubBlockInfoBase ()
 Default constructor.
 
void SetCompressionMode (libCZI::CompressionMode m)
 
libCZI::CompressionMode GetCompressionMode () const
 

Public Attributes

const void * ptrBitmap
 Pointer to the the bitmap to be put into the subblock. The size of the memory-block must be (strideBitmap * physicalWidth).
 
std::uint32_t strideBitmap
 The stride of the bitmap.
 
const void * ptrSbBlkMetadata
 Pointer to the subblock-metadata.
 
std::uint32_t sbBlkMetadataSize
 The size of the subblock-metadata in bytes. If this is 0, then ptrSbBlkMetadata is not used (and no sub-block-metadata written).
 
const void * ptrSbBlkAttachment
 Pointer to the subblock-attachment.
 
std::uint32_t sbBlkAttachmentSize
 The size of the subblock-attachment in bytes. If this is 0, then ptrSbBlkMetadata is not used (and no sub-block-metadata written).
 
- Public Attributes inherited from libCZI::AddSubBlockInfoBase
libCZI::CDimCoordinate coordinate
 The subblock's coordinate.
 
bool mIndexValid
 Whether the field 'mIndex' is valid;.
 
int mIndex
 The M-index of the subblock.
 
int x
 The x-coordinate of the subblock.
 
int y
 The x-coordinate of the subblock.
 
int logicalWidth
 The logical with of the subblock (in pixels).
 
int logicalHeight
 The logical height of the subblock (in pixels).
 
int physicalWidth
 The physical with of the subblock (in pixels).
 
int physicalHeight
 The physical height of the subblock (in pixels).
 
libCZI::PixelType PixelType
 The pixel type of the subblock.
 
libCZI::SubBlockPyramidType pyramid_type
 
std::int32_t compressionModeRaw
 

Detailed Description

This struct defines the data to be added to the subblock segment. This variant is used if the uncompressed bitmap-data has an arbitrary stride. Note that when writing compressed data, this variant does not make much sense to use.

Member Function Documentation

◆ Clear()

void libCZI::AddSubBlockInfoStridedBitmap::Clear ( )
inlineoverridevirtual

Clears this object to its blank/initial state.

Reimplemented from libCZI::AddSubBlockInfoBase.


The documentation for this struct was generated from the following file: