Python Api

Introduction

Phatch is written in Python and ships with an api so it can also be used as a library. In that sense it is a shell around the Python Imaging Library on which it is based.

Get started

from phatch.core import api
api.init()
settings = api.create_settings()
actionlist = api.open_actionlist('filename.phatch')
api.apply_actions(actionlist['actions'],settings)

© 2007-2008 www.stani.be
(It is not allowed to copy, distribute or transmit any part of the wiki without written permission.
Only contribute to this wiki if you agree with this term.)