Pystacia - image manipulation library for Python

Pystacia is "yet another" image manipulation library for Python... but it has some advantages over other libs:
  • Python API, expendable by subclassing
  • Wide Python support - 2.5, 2.6, 2.7, 3.1, 3.2, PyPy and IronPython
  • No compiler required, just "pip install pystacia"
  • Works on 32 and 64 bit MS Windows, Linux and on Intel based OSX
  • Inner 16-bit per channel precision
  • Multithreaded processing on multiple cores
  • MIT license
  • ...and more ;)
Pystacia offers a lot of functionality that is covered in the documentation. It can replace PIL in web applications - for example in thumbnail generation. Here is a simple example:
import pystacia

image = pystacia.read('example.jpg')

image.rescale(320, 240)
image.write('output1.jpg')
image.rotate(30)
image.write('output2.jpg')
image.rescale(factor=2)
image.denoise()
image.emboss()
image.write('output3.jpg')

image.close()
pystacia example output
RkBlog

Python programming, 27 November 2011, Piotr Maliński

Comment article
RkBlog main page Search RSS Contact