Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: add and use parse_pixels in tests #876

Merged
merged 1 commit into from
Jun 2, 2019

Conversation

mbarkhau
Copy link
Contributor

@mbarkhau mbarkhau commented Jun 2, 2019

No description provided.

p = as_pixel(b'\xc0\x00\x3f\xff') # R above R above B above #fff.

# NOTE: "r" is not half red on purpose. In the pixel strings it has
# better contrast with "B" than does "R". eg. "rBBBrrBrB" vs "RBBBRRBRB".
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@liZe Can you clarify if this is correct?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't remember the reason, but it looks like a plausible explanation.

@liZe liZe merged commit f77efe8 into Kozea:master Jun 2, 2019
@liZe
Copy link
Member

liZe commented Jun 2, 2019

It's much better that way.

@liZe liZe added this to the 48 milestone Jun 2, 2019
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.

2 participants