After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 605366 - OpenRaster support
OpenRaster support
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
unspecified
Other All
: Normal enhancement
: 2.8
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2009-12-24 14:02 UTC by Jon Nordby
Modified: 2010-01-24 20:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Plug-in that implements OpenRaster save/load functionality (9.17 KB, patch)
2010-01-12 20:56 UTC, Jon Nordby
none Details | Review

Description Jon Nordby 2009-12-24 14:02:13 UTC
OpenRaster is an open multi-layer raster image exchange format developed by the Create project.[1] MyPaint, Krita and DrawPile are among the applications that (can) use it. It would be very nice if GIMP also supported it in a good way.

An input handler plug-in exists[2], but is has two problems:
1 - It does not work out-of-the box as it is not included with GIMP
2 - It quite slow, mainly because of inefficient use of IO


1. http://create.freedesktop.org/wiki/OpenRaster
2. http://registry.gimp.org/node/18435

----
What would be the best way to get good OpenRaster support for the GIMP? 
Implementing it from scratch inside GIMP? With/without GEGL? Shipping the Python plugin? Creating a C library that handles the low-level details so it can be used by GIMP and others?
Comment 1 Martin Nordholts 2009-12-24 14:03:58 UTC
The best way to get OpenRaster into GIMP is better discussed on the gimp-developer mailing list, but I think GIMP 2.10/3.0 will be a good time to seriously look into this.
Comment 2 Jon Nordby 2009-12-24 16:24:02 UTC
Sure. Thread started:
https://lists.xcf.berkeley.edu/lists/gimp-developer/2009-December/023896.html
Comment 3 Jon Nordby 2010-01-12 20:56:36 UTC
Created attachment 151289 [details] [review]
Plug-in that implements OpenRaster save/load functionality

Known limitation: Does not make use of nested layers functionality (due to not being exposed in the PDB)

I intend to maintain this code, both adding new features and fixing bugs. 

PS: same patch as the latest on the mailinglist
Comment 4 Martin Nordholts 2010-01-13 07:15:46 UTC
Cool. Putting this back on the 2.8 milestone list then.
Comment 5 Martin Nordholts 2010-01-24 08:03:19 UTC
I have commited this now after some minor style cleanup and after changing the licence to GPLv3+. I also successfully shared .ora files between MyPaint and GIMP.

commit bd8af017f5f50ad30201875f9ecc0a2cac8a4f16
Author: Jon Nordby <jononor@gmail.com>
Date:   Sun Jan 24 08:59:55 2010 +0100

    Bug 605366 - OpenRaster support

    Add basic OpenRaster support. At the very least, this allows
    multi-layered .ora files to be shared between MyPaint and GIMP.
Comment 6 Jon Nordby 2010-01-24 14:56:49 UTC
Thank you for committing. 
Will you commit this to branch gimp-2-6 as well?
Comment 7 Martin Nordholts 2010-01-24 20:16:53 UTC
Our policy is to only do bug-fixes in the stable branch, and adding support for a new file format can't be considered a bug fix unfortunately.