GNOME Bugzilla – Bug 767274
Port PNG saver (png-save) to GIO
Last modified: 2017-05-11 15:21:49 UTC
Operation png-save should be ported to GIO (should use gegl_gio_open_output_stream()). More informations: http://wiki.gimp.org/index.php/Hacking:Porting_file_plugins_to_GEGL_and_GIO
Created attachment 329166 [details] [review] First attempt
Created attachment 351623 [details] [review] patch rebased on current master I've uploaded a patch rebased on master, multiple tests are failing by saving the wrong dimension pngs - seemingly to do with negative origins for passed buffers.
commit 3dce6741b0e7b135f7cfd07869812c0d1dc5845b Author: Øyvind Kolås <pippin@gimp.org> Date: Thu May 11 17:19:20 2017 +0200 png-save: correctly handle region of interest commit 7763be188d1cbd7bb286a5ce84825feaf15242a4 Author: Martin Blanchard <tchaik@gmx.com> Date: Sun Jun 5 23:22:03 2016 +0200 png-save: port to GIO Make use of gegl_gio_open_output_stream() service. No more direct fopen() call for output. https://bugzilla.gnome.org/show_bug.cgi?id=767274