Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

newbie question; how to dump a window to a bitmap file (i.e. gif or png)

3 views
Skip to first unread message

Armin S. A. Roehrl

unread,
Oct 2, 1999, 3:00:00 AM10/2/99
to
Sorry to ask a maybe trivial question.
Please point me to some tutorials/FAQs. Thx.

I create a window using XCreateWindow, etc..
Then I draw in it by calling e.g. XFillArc, etc.

Are there any functions/routines/libraries
to save the window into a bitmap (e.g.
.gif or .png) format?
I don't want to use xv or a similar
external program, I would like to drive
it from the C code directly.

Thanks a lot.

Armin

0 new messages