Skip to content

harvimt/sanpera

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sanpera

sanpera is an imaging library for Python, designed to expose a lot of power with an unsurprising and consistent API. The goal is to do for image manipulation what requests has done for HTTP.

This is an extreme work in progress, but it does do a few useful things. If it seems useful to you, feel free to give it a spin, and file tickets for whatever's missing or broken!

Documentation

Tech

sanpera is written with heavy use of CFFI, because hey, why not.

It's powered by ImageMagick, but it is not a simple wrapper; ImageMagick is merely an implementation detail.

Goals

  • Expose everything ImageMagick can do, smoothing over its idiosyncracies wherever possible.
  • Have simple, obvious behavior.
  • Be reasonably fast and compact.
  • Work with CPython and PyPy.
  • Interop where useful: numpy, Cairo, etc.

Non-goals

  • Behave like ImageMagick.
  • Work with IronPython or Jython.
  • Be as fast or memory-efficient as C.

About

A better image library for Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 73.6%
  • C 26.4%