PythonTalkLgm3

From Create Wiki

Jump to: navigation, search

Python: Binding the Libre Universe Together

Scripting in GIMP and other Libre Graphic Apps

Python is used as a scripting language for almost all Free Software dealing with graphics. This talk shows how Python is used to provide scripting capabilities to GIMP, Inkscape, Scribus, Blender and other programs, as well as other Python usage with common graphic-related library bindings - Cairo, Qt4, SDL, OpenGL, GEGL , or simply providing a way to script scenes for other text-based image description languages (POVRay, Postscript). We also talk about how Python can be important just as a support language in graphic projects for various tasks.



Python is a dynamic, cross-platform, open source, multi-purpose language designed to be easy to learn and provide high coding productivity by keeping things simple. It also happens to be a favored language for scripting in nine out of ten LGM projects.

This talk will briefly showcase the Python language, showing the strong points that make it popular in so many projects, and some simple GIMP scripts using it.

It will also show small examples of python scripts for Scribus, Blender, Inkscape - and possibly Krita and Cinepaint. The capabilities of Python stand alone Free graphic libraries, like GEGL, Python Imaging Library, bindings to Image Magick, GTK+ GDK, QT4, SDL, and OpenGL for image processing will be referenced and possibly demonstrated as well. Uses as a suitable string-manipulation language for organizing files, re-arranging source C, xml and text files at build time for some apps as well generation of images creating raw raster data, Postscript data and POV-Ray source will be mentioned.

Discussion on how Python could and can replace, with benefits, languages such as Scheme, LISP, VBA, AppleScript, Javascript for scripting.

Finally, some ideas of cross-application scripting using python will be discussed.

[note to organizers - This could easily take more than an hour. Or it could be a regular talk + a workshop]

Personal tools