I have the following code in order to reflect an image diagonally: 

```
public void mirrorDiagonal() {

      Pixel[][] pixels = this.getPixels2D();

      Pixel topRightPixel = null;
      Pixel bottomLeftPixel = null;
      int maxLength;
      if (pixels.length < pixels[0].length) { maxLength = pixels.length; }
      else {maxLength = pixels[0].length; }

      for (int row = 0; row < maxLength; row++)
      {
          for (int col = row; col < maxLength; col++)
          {
              topRightPixel = pixels[row][col];
              bottomLeftPixel = pixels[col][row];
              bottomLeftPixel.setColor(topRightPixel.getColor());
          }
      }
  }

```

However I messed up somewhere and it reflects the image from the top right of the image to the bottom left. 

My Question: How would I reflect it any other way? (more specifically from the top left to the bottom right)