Function libCZI::CreateBitmapFromSubBlock

Function libCZI::CreateBitmapFromSubBlock#

Function Documentation#

std::shared_ptr<IBitmapData> libCZI::CreateBitmapFromSubBlock(ISubBlock *subBlk, const CreateBitmapOptions *options = nullptr)#

Creates bitmap from sub block.

Parameters:
  • subBlk – The sub-block.

  • options – (Optional) Options for controlling the operation. This controls how discrepancies between the actual pixel data and the information in the sub-block are handled.

Returns:

The newly allocated bitmap containing the image from the sub-block.