Write a function to mirror along the diagonal from (0, 0) to (width, height).

What will be an ideal response?

```
def mirrorDiagonal(source):
for y in range(0,getHeight(source)):
for x in range(y,getWidth(source)):
topPixel = getPixel(source ,x,y)
bottomPixel = getPixel(source,y,x)
color = getColor(topPixel)
setColor(bottomPixel ,color)
show(source)
```

Note: This function only works particularly well with square images.

Computer Science & Information Technology

You might also like to view...

What will become the source of information for many different systems?

A) Asset tracking software B) Tier 1 systems C) Disaster recovery document D) All of the above

Computer Science & Information Technology

The ________ tracks those actions deemed as events by the software application

Fill in the blank(s) with correct word

Computer Science & Information Technology