fb2png | Save Linux frambuffer to a PNG image file | Image Editing library

 by   AndrewFromMelbourne C Version: Current License: MIT

kandi X-RAY | fb2png Summary

kandi X-RAY | fb2png Summary

fb2png is a C library typically used in Media, Image Editing, Qt5 applications. fb2png has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

A program to read the Linux framebuffer and save it as a PNG file.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              fb2png has a low active ecosystem.
              It has 39 star(s) with 20 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 1 open issues and 0 have been closed. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of fb2png is current.

            kandi-Quality Quality

              fb2png has 0 bugs and 0 code smells.

            kandi-Security Security

              fb2png has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              fb2png code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              fb2png is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              fb2png releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of fb2png
            Get all kandi verified functions for this library.

            fb2png Key Features

            No Key Features are available at this moment for fb2png.

            fb2png Examples and Code Snippets

            No Code Snippets are available at this moment for fb2png.

            Community Discussions

            Trending Discussions on fb2png

            QUESTION

            Get screenshot of EGL DRM/KMS application
            Asked 2018-Dec-24 at 21:15

            How to get screenshot of graphical application programmatically? Application draw its window using EGL API via DRM/KMS.

            I use Ubuntu Server 16.04.3 and graphical application written using Qt 5.9.2 with EGLFS QPA backend. It started from first virtual terminal (if matters), then it switch display to output in full HD graphical mode.

            When I use utilities (e.g. fb2png) which operates on /dev/fb?, then only textmode contents of first virtual terminal (Ctrl+Alt+F1) are saved as screenshot.

            It is hardly, that there are EGL API to get contents of any buffer from context of another process (it would be insecure), but maybe there are some mechanism (and library) to get access to final output of GPU?

            ...

            ANSWER

            Answered 2018-Feb-28 at 18:21
            1. One way would be to get a screenshot from within your application, reading the contents of the back buffer with glReadPixels(). Or use QQuickWindow::grabWindow(), which internally uses glReadPixels() in the correct way. This seems to be not an option for you, as you need to take a screenshot when the Qt app is frozen.

            2. The other way would be to use the DRM API to map the framebuffer and then memcpy the mapped pixels. This is implemented in Chromium OS with Python and can be translated to C easily, see https://chromium-review.googlesource.com/c/chromiumos/platform/factory/+/367611. The DRM API can also be used by another process than the Qt UI process that does the rendering.

            Source https://stackoverflow.com/questions/47428631

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install fb2png

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/AndrewFromMelbourne/fb2png.git

          • CLI

            gh repo clone AndrewFromMelbourne/fb2png

          • sshUrl

            git@github.com:AndrewFromMelbourne/fb2png.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link