12-04-2017, 04:30 PM
So I found how to copy pixel data from Gimp into a numpy array, and vice versa. Numpy is a popular fast math library for Python. For instance implementing a median filter with it takes 40 lines and runs in four seconds over 4 copies of a 20Mpx layer (a plain average filter is 1.2s). This can be handy some day.