Metadata-Version: 1.1
Name: python-gegl
Version: 0.1
Summary: Wrappers to simplify GEGL usage with python
Home-page: https://github.com/jsbueno/python-gegl
Author: João S. O. Bueno
Author-email: gwidion@gmail.com
License: LGPL v3
Download-URL: https://github.com/jsbueno/python-gegl/archive/v0.1.tar.gz
Description: #############
        GEGL
        #############
        
        Python lithweight wrapper for using GEGL - Generic Graphics Library
        (http://www.gegl.org)
        
        Currently working for Python 2 -
        but it should work for Python3 with minimal modifications.
        
        ***********************
        Justificative
        ***********************
        
        In the past, there were custom Python bindings for GEGL
        on the library source tree itself. However, that code
        bit-rot and was removed, with the introduction of
        gobject  introspection, automatic bindings for several
        languages - Python included - could be generated.
        
        The problem with the automatic bindings for GEGL is that
        although usable, one has to do a lot of typing and copying around
        to be able to leverage on the introspection capabilities
        of Gobject and of GEGL itself.
        
        This project ains to add some custom Python code that makes
        it more "pythonic" to make full use of GEGL.
        
        The file "snippets.py" contains an example of using
        GEGL thorugh raw gobject introspection - you don't need
        this project installed at all to use code like that.
        
        With this installed, even in this early stage, the following
        statements are enough to create and execute the
        same GEGL graph used in "snippets.py":
        
        >>> import gegl
        >>> x = gegl.Graph("png-load", "invert", "png-save")
        >>> x[0].path = "/home/gwidion/bla.png"
        >>> x[0]
        OpNode('gegl:png-load')
        >>> x[2].path = "/home/gwidion/bla2.png"
        >>>
        >>> x()
        >>>
        
        
        ********************
        Prerequisites
        ********************
            You will need a working GEGL with Gobject introspection installed,
            and pygobject
        
            (Unfortunatelly for now PyGOBject does not auto-install with distutils
            on real-life systems, so auto-detecting and installing it in the
            setup.py can't be achieved easily)
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 2
Classifier: Topic :: Multimedia :: Graphics
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Printing
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
