зеркало из https://github.com/mono/mail-archives.git
7 строки
1.3 KiB
HTML
7 строки
1.3 KiB
HTML
<tt>
|
|
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 <br>
|
|
Application.Init(), which won't work if the app cannot connect to the X server.<br><br>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<br>
|
|
(or similar class) without initialising Gtk. <br><br>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.<br><br>
|
|
|
|
</tt>
|