I'm trying to use
the shadow buffer implementation in combination with Xvfb to get periodic
update triggers and convert the delta data to a bottom-up DIB that can be saved
as a MicroSoft .BMP or .DIB file. I managed to do this "by hand" but don't
like the implementation because I "hard-coded" things related to source and
destination color depth, and there isn't any possibility of conversion from one
depth to another depth.
What I really
need are some helper functions to help with any of the
following:
a) convert from the shadow buffer (the screen's) color depth to a
new color depth which I can define.
b) store the data in bottom-up format.
I really appreciate
any information or hints on what functions would help me with this
that are already in the XFree86 distribution, or any help on good documents
that describe the Pixmap format vs BMP format in enough detail to help me with
this.
Thanks for any
help,
Ray
Cardillo
