SVGAlib (the Linux Super VGA Graphics Library) is a powerful, console-based library used to display graphics under Linux. It's entirely separate from the X-Windowing System, and won't work across a network. However, it compensates
Because SVGAlib is a library not an environment it has no screenshot feature. Jay Link shows you how to incorporate this popular function into your next project.
Things are simplified considerably when using vgagl, as WIDTH, HEIGHT, and BYTESPERPIXELS are predefined. Here we'll take a look at gl_getbox():
Other Options Matan Ziv-Av, who maintains SVGAlib, has contributed this code, which uses vga_getscansegment(). Note that his function creates a ppm file, which is a plain-text dump of every pixel's RGB values.