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

How to invert individual pixels #341

Open
GoogleCodeExporter opened this issue Jul 30, 2015 · 1 comment
Open

How to invert individual pixels #341

GoogleCodeExporter opened this issue Jul 30, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Hello.
I'm trying to invert individual pixels,part of the display, or let say bitmap, 
not entire display, i'm trying to make something like in this picture(see 
attachment).
This is what i find in internet about this.
http://forums.adafruit.com/viewtopic.php?f=47&p=244335 
Please help me.
Thank you

Original issue reported on code.google.com by [email protected] on 12 May 2015 at 5:39

Attachments:

@GoogleCodeExporter
Copy link
Author

It is not possible to invert a single pixel with u8glib. However it would be 
possible to create a picture like in your image: Write the bitmap not inverted 
and complete first. Then draw the progress bar,then draw the bitmap again, but 
with inverted pixel and only that part of the image which overlaps with the 
progress bar.

Original comment by [email protected] on 12 May 2015 at 8:21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant