xlib questions 1
goldov1 at yandex.ru
Mon Oct 12 06:06:00 PDT 2015
Hello, i learn Xlib and have questions. Up to now i learned how to create primitive figures, text, manipulate with colors and annimation. At the moment i would like to save what i see in a window (root, or child) in a graphical file. I learned how to use XCreatePixmap and XWriteBitmapFile - do i undertand correctly that the latter function does not create a graphical file rather it creates a bitmap-table in ASCII-file that could be used in a separate C-code to write-create a real bitmap *.bmp file that could be viewed in any image viewer either in Linux or in Window ?
is there any way to create jpeg, eps, png, tiff files within Xlib-library or X11 ?
More information about the xorg