Skip to content

Image is scaled down#6

Open
tgulacsi wants to merge 2 commits intorsc:masterfrom
tgulacsi:image-scale
Open

Image is scaled down#6
tgulacsi wants to merge 2 commits intorsc:masterfrom
tgulacsi:image-scale

Conversation

@tgulacsi
Copy link
Copy Markdown

@tgulacsi tgulacsi commented Oct 8, 2022

colorImage.At does not handle the Scale (number of pixels per QR dot) of the image.
TestPNG does this calculation by hand, PNG() too, but Image.At does not.

The first comment adds a TestGIF to see this in action,
the second fixes it.

@tgulacsi
Copy link
Copy Markdown
Author

tgulacsi commented Oct 8, 2022

Hmm, the fix is the same as in #3...

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