sanpera icon indicating copy to clipboard operation
sanpera copied to clipboard

A better image library for Python

Results 28 sanpera issues
Sort by recently updated
recently updated
newest added

This would be neat. Basically implement `convert`'s various custom-pipeline things as a Python API. So something like: ``` def filter(pixel): if pixel.position.x > pixel.position.y: pixel.color = black else: pixel.color =...

Currently no way to inspect or change a single pixel. Better fix that. Keep in mind that IM's API is intended for batch work: it's built around requesting a rectangular...

Taking some influence from the Magick++ API, though only so much. Current concerns include that I seem to be breaking HDR; colors outside `[0, 1]` get trimmed. Will this interfere...

Should they be iterable, or treated like enums (#5, #6), or just be a big cluster of incidental special parse cases?

http://www.python.org/dev/peps/pep-0368/ It defines a (surprisingly in-depth) API for a standard-library imaging module, with a lot of similarities to PIL. It was never implemented, but never rejected either; it just doesn't...

If nothing else it would be good for forcing me to use and flesh out the core of the library.

Would be neat to be able to import/export a whole frame as an array of w × h × channel. Also see what PIL does.

And allow passing one to `resize`. The tricky bit is avoiding hardcoding all the filter names that happen to exist in the wrapped version of IM, but I don't know...

This would be kinda neat, to report how much space an image is actually using.

I have some notes saying (a) I would like a more general and robust way of handling proxies to properties of other objects, and (b) an existing pixel proxy class...