Diagonal mirrored image

You should new an image buffer, then put the diagonal mirrored image
data, using putpixel() to do so, into the buffer. Then, put the list
data to image buffer for show image.