Re: [Gegl-developer] New serialization format
- From: Victor Oliveira <victormatheus gmail com>
- To: Øyvind Kolås <pippin gimp org>
- Cc: gegl-developer-list gnome org
- Subject: Re: [Gegl-developer] New serialization format
- Date: Thu, 5 Jul 2012 11:07:51 -0700
JSON++
On Thu, Jul 5, 2012 at 11:03 AM, Øyvind Kolås
<pippin gimp org> wrote:
> I was also wondering why not XML. IIRC image processing in GEGL is
> internally represented by a tree (correct me if I'm wrong). Are YAML and
> JSON able to handle this, better than a native tree format like XML?
The reason that a new/extended format is needed is that GEGL is more
general than a tree - it uses graphs. At the moment GEGL uses the
implicit tree of the nodes from XML + the ability to clone outputs to
represent the subset of graphs that are representable with sources,
filters and composers (two input pads, one output pad). All of the
programming API in GEGL deals with graphs not trees - the tree
representation of constrained subsets can however still be useful to
use both for _some_ deserialization purposes as well as UI
representations.
/Øyvind K.
--
«The future is already here. It's just not very evenly distributed»
-- William Gibson
http://pippin.gimp.org/ http://ffii.org/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]