Wednesday, February 21, 2018

Manipulating image files with Python

A very simple code used to manipulate and animate an image file.

Original photo :                                                                                                Result :

A very nice tutorial on : Matplotlib image tutorial.
Libraries used : Matplotlib (of course), Numpy and Pil.

>> Python 3 code (it is not a trap) <<

P.s.: The original photo was taken by me, so no copyright problems - share if you want.