public void changeWhole(double amount)
{
Pixel[] pixelArray = this.getPixels();
Pixel pixel = null;
int value = 0;
int i = 0;
while( i < pixelArray.length)
{
...