pub struct PixelReport {Show 16 fields
pub offscreens: usize,
pub stored: usize,
pub kinds: BTreeMap<String, usize>,
pub attribute_errors: usize,
pub attribute_round_trip_failures: usize,
pub payload_errors: usize,
pub payload_round_trip_failures: usize,
pub block_size_table_mismatches: usize,
pub blocks: usize,
pub stored_blocks: usize,
pub checksum_mismatches: usize,
pub decode_errors: usize,
pub reencoded_identical: usize,
pub reencoded_identical_default: usize,
pub reencoded_different: usize,
pub first_error: Option<String>,
}Expand description
Raster pixels (Offscreen rows and their block data).
Fields§
§offscreens: usizeOffscreen rows.
stored: usizeOffscreens whose block data chunk is stored.
kinds: BTreeMap<String, usize>Offscreens per pixel kind (color, gray, monochrome, alpha, unknown).
attribute_errors: usizeAttribute blobs that could not be parsed.
attribute_round_trip_failures: usizeAttribute blobs not written back byte for byte.
payload_errors: usizeBlock data that could not be parsed or has the wrong number of blocks.
payload_round_trip_failures: usizeBlock data not written back byte for byte.
block_size_table_mismatches: usizeBlock data whose block sizes differ from the attribute’s size table.
blocks: usizeBlocks in the grids of all offscreens.
stored_blocks: usizeBlocks with stored (compressed) pixels.
checksum_mismatches: usizeBlocks whose stored checksum is wrong.
decode_errors: usizeBlocks that could not be inflated or have the wrong size.
reencoded_identical: usizeBlocks compressed again to the same bytes, with CSP’s zlib settings.
reencoded_identical_default: usizeBlocks equal to zlib’s default settings instead (material brush tips).
reencoded_different: usizeBlocks equal to neither.
first_error: Option<String>The first problem found, for diagnosis.