Skip to content

fix: Reshape bug with MedianCut#117

Merged
qTipTip merged 5 commits into
masterfrom
fix-reshape-bug
Jun 28, 2026
Merged

fix: Reshape bug with MedianCut#117
qTipTip merged 5 commits into
masterfrom
fix-reshape-bug

Conversation

@qTipTip

@qTipTip qTipTip commented Jun 28, 2026

Copy link
Copy Markdown
Owner

The reshape method was using width and height from the original image. After alpha masking, some pixels might be removed, causing this to raise downstream. Turns out we do not need width/height at all, so removing from the protocol.

  • fix reshape bug
  • add a regression test that covers all extraction methods

@qTipTip qTipTip merged commit 5ef097d into master Jun 28, 2026
10 checks 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.

1 participant