Re: transferring images through ORBit and gdk_draw_rgb_image



On Thu, 2003-04-17 at 17:54, Peter Van Osta wrote:
> Hi,
> 
> For our application I will have to tranfer image data, mostly form the
> server to the client. On the client side I will use "gdk_draw_rgb_image"
> and guchar buffers to put the images into a GTK interface.
> 
> As far as I can find out, the best way to transfer iamge data from the
> server to the client is to use a "sequence". The bitmaps in the server
> can be 32 bit RGBX images (sometimes 8bit images and 16bit images). For
> display purposes I guess it is best to transfer them all to RGBX buffers
> and pump these through to the client. Is the way shown here, the best
> way to define the buffer:
> 
> typedef sequence<char,4> rgbximg;
> 
I would personally use the stream interface in Bonobo to transfer the
images. If you're not going to use Bonobo, you can create similar ad-hoc
interfaces for the image transfer.

cheers




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]