Lorenz Prem <Lorenz.Prem@guidant.com> wrote:
I am trying to capture a screen image and send it to a MS Windows machine.
To do this I think I will use ScreenImage. The documentation I have about it
says it returns a void*.
ScreenImage generates an internal format.
If you look at ftp.qnx.com:/usr/free/qnx4/qwindows/utils/picthp.tgz,
this is a utility that converts the output from ScreenImage into HPGL.
Also, take a look at the DrawImage() command – it gives a bit more
information about what an “Image” element looks like. Next place to
look is the header files.
You would have to write a convertor yourself – something that understood
the Image file format for input, then did the output in some format that
would be understood on the windows side – I’d pick something simple
for the output (bmp?), then use some other image convertor tool (there
are a number of such PD tools available) to convert it to a more
compressed format (e.g. jpeg).
Or, you could look at using pictps – this will convert the image to
QNX Training Services