GNOME Bugzilla – Bug 752037
GIO services need a helper for opening output stream
Last modified: 2015-09-30 14:26:57 UTC
In order to port saving operations to GIO, gegl-gio should ship an output stream opening helper, like gegl_gio_open_input_stream() is doing for input ones.
Created attachment 306961 [details] [review] New gegl_gio_open_output_stream() function
Created attachment 312188 [details] [review] Fix output stream opening for Win32 New version, fixing stupid error for Win32...
Agreed we should have this convenience also for output. It would be great to have at least one op ported to it though, so we're not adding unused/untested code..
Sure. I'm currently working on a TIFF saver which uses this. See bug #739124 (should probably be marked as depending on 752037).
However, I've never tested the Win32 part of this patch, as the mistake in the initial version let you guess...
Good there is code to use it. We do have others using GEGL master on Windows quasi-regularly, so issues specific to that platform tends to work out. Committed to master now. Thanks! commit af4368284e35ad134cde80e762f05e651a746edb Author: Martin Blanchard <tchaik@gmx.com> Date: Sat Sep 26 12:32:50 2015 +0200 gegl-gio: Add a helper for opening output stream Similarly to what gegl_gio_open_input_stream() does for input streams, this adds a gegl_gio_open_ouput_stream(), allowing one to open an output stream from a URI or path. https://bugzilla.gnome.org/show_bug.cgi?id=752037
Review of attachment 312188 [details] [review]: Mark committed.