Struct CreateBitmapOptions#
Defined in File libCZI.h
Struct Documentation#
-
struct CreateBitmapOptions#
This structure defines how to handle mismatches and discrepancies between sub-block information and the actual pixel data. Please see the documentation about “Resolution Protocol for Ambiguous or Contradictory Information” for details. For libCZI until version 0.63.2 the behavior was to throw an exception in case of a discrepancy detected.
Public Members
-
bool handle_uncompressed_data_size_mismatch = {true}#
In case of uncompressed pixel data, apply the resolution protocol for uncompressed data. If false, an exception is thrown (in case of a discrepancy).
-
bool handle_jpgxr_bitmap_mismatch = {true}#
In case of JpgXR compressed pixel data, apply the resolution protocol for JpgXR-compressed data. If false, an exception is thrown (in case of a discrepancy).
-
bool handle_zstd_data_size_mismatch = {true}#
In case of zstd compressed pixel data, apply the resolution protocol for zstd-compressed data. If false, an exception is thrown (in case of a discrepancy).
-
bool handle_uncompressed_data_size_mismatch = {true}#