[Gtk-sharp-list] Using pixbuf without X

Dark Angael darkangael at gmail.com
Mon Nov 28 08:27:48 EST 2005


I have developed an application which receives raw data on stdin and splits
it up into images. Currently this application uses the Gdk.PixBuf class to
store and save the images. Unfortunately for this to work it appears that
Gtk must be initialised using Application.Init(), which won't work if the
app cannot connect to the X server.

I am wondering if there is any way to either init Gtk without having X
available (it's a console app), or some way to use the Gdk.PixBuf (or
similar class) without initialising Gtk.

I have used System.Drawing.Bitmap before and it works a lot more slowly than
PixBuf, so I would prefer not to have to revert to it again.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20051128/a80522cb/attachment.html


More information about the Gtk-sharp-list mailing list