Download: latest (1.8.0)

pymagery — python imagery


1.8.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