Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::PngMetadata Struct Reference

Decoder-independent PNG structure and dimensions. More...

#include <screenshot_compare.hpp>

Public Attributes

bool valid = false
uint32_t width = 0
uint32_t height = 0

Detailed Description

Decoder-independent PNG structure and dimensions.

Validates the signature, IHDR, bounded chunk framing, at least one IDAT, and terminal IEND. This is suitable for transport validation on builds that intentionally omit a PNG pixel decoder; use analyze_screenshot_content() when pixel statistics matter.

Member Data Documentation

◆ height

uint32_t pulp::view::PngMetadata::height = 0

◆ valid

bool pulp::view::PngMetadata::valid = false

◆ width

uint32_t pulp::view::PngMetadata::width = 0

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