Skip to content

refactor: clarify bitmap decoder internals - #7

Merged
kbuffardi merged 1 commit into
masterfrom
style-cleanup
Sep 30, 2026
Merged

kbuffardi merged 1 commit into
masterfrom
style-cleanup

Conversation

@kbuffardi

Copy link
Copy Markdown
Owner

Summary

  • Replace repetitive decoder initialization with C++11 member defaults.
  • Introduce named helpers for BMP depth validation, pixel-matrix construction,
    and RGB component validation.
  • Use range-based image validation while preserving the public API and all
    decoding, error, and lossiness behavior.

Verification

  • ./test_runner.sh
  • git diff --check

Release

After this PR merges into master, create tag v1.0.1 from the merged commit.
The release workflow requires the tag to be an ancestor of master.

Closes #6

Replace repeated initialization and validation expressions with named C++11 helpers while preserving BMP decoding behavior.\n\nCloses #6
@kbuffardi
kbuffardi merged commit a714d4f into master Sep 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor bitmap internals for clarity

1 participant