[ROOT] Displaying a bitmap

From: Thomas Bretz (tbretz@uni-sw.gwdg.de)
Date: Tue Dec 18 2001 - 17:43:16 MET


Hi all,

I have an application which reads out a CCD camera. I want to display
the picture of it (768x512x8, gray) in a root canvas. Because it must be
updated very often (25Hz) I cannot use slow worarounds. Until now I made
a transformation (in memory) to xpm-format and used
gVirtualX->CreatePictureFromData to create a pixmap and
gVirtualX->CopyArea to display it. Now I have two problems:
 1) it is neither a fast nor a beautiful solution it's somehow a
workaround
 2) I updated the old root version on this machine (2.25) to the latest
pro version 3.02/06 and now I get 
Xlib: unexpected async reply (sequence 0x3b4)!
whatever this means...

Best regards,
Thomas.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:12 MET