What's this:
It looks like you are moving pixels around, rather than inverting the colour of the pixels.Code:While Current_x < than Max_x;
array[x]<--array[x-255]
// meant to invert colour , by changing pixel value
EndWhile;
While Current_y less than Max_y;
Array[y]<--array[y-255];
EndWhile;
new <-- Invert(array x y);
--
Mats