Fabien Comte Posted September 30, 2018 Report Share Posted September 30, 2018 Hello, I wish to create a Screenshot. How can I access to the actual display buffer to read pixels please ? Thank you. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted September 30, 2018 Report Share Posted September 30, 2018 GDISP drivers have an interface for reading out the framebuffer. You can use that to get direct access to the pixel data. But keep in mind that uGFX itself doesn't need a framebuffer. So there are certain setups where this won't be possible because there's no framebuffer accessible. If this is a higher end application you might already be using Pixmaps which are essentially framebuffers. The Pixmaps have high-level API to return a gdispImage object of the framebuffer contents. Link to comment Share on other sites More sharing options...
Fabien Comte Posted September 30, 2018 Author Report Share Posted September 30, 2018 It works. Thank you for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now