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

screen.peek() does not peek into the context selected with screen.draw_to() #1748

Open
Dewb opened this issue Dec 11, 2023 · 0 comments
Open

Comments

@Dewb
Copy link
Contributor

Dewb commented Dec 11, 2023

I have a simple fix for this, but the larger problem is that offscreen images do not follow the same assumptions as the norns screen (ARGB32 with the color planes all equal and quantized to 16 levels) so peek()-ing generically would require that peek() create a processed bitmap to return that matches format assumptions, or else provide an additional API to get the image format of the offscreen buffer.

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

No branches or pull requests

1 participant