pymagery — python imagery
1.7.0 documentation / invert plugin
The invert plugin inverts the image thus turning black to white and white to black.
The plugin prototype is:
def inver()
The following example inverts the image:
import pymagery
i = pymagery.image('foo.ppm')
i.invert(resize=1.5)
i.save('foo-invert.ppm')
| Original | Invert |
|---|---|
![]() |
![]() |
Change Log
- 1.4.0 — added
Copyright © 2008 Colin ML Burnett, released under GPLv2

