[omniORB] g3 and gif files

Steven W. Brenneis brennes1@rjrt.com
Mon, 10 May 1999 09:53:36 -0400


andrew.brown@bt.com wrote:
> 
> Hi,
>         Does anyone know how i would go about passing a .gif file and a .g3
> file through a CORBA interface (specifically OMNIorb). Any information or
> ideas on this would be much appreciated.
> 
> Thanks.
> 
> Andrew Brown.

I have an application that transfers raster graphical images of all
types (GIF, BMP, JPEG, TIFF, etc.) between CORBA Servers and Clients. 
In my IDL, I have typedef'd an image:

typedef sequence<octet> Image;

I am using AccuSoft's Image Format Library (on Windows NT) to place the
image in device-independent form into a memory buffer.  I then populate
the CORBA sequence from the image buffer and send it.  OmniORB is very
fast and I am able to get images of 80K to 100K from client to server
and vice-versa in under one second on our intranet.

Hope this helps.

Steve Brenneis