'usage: transpose <string:operator> <image:pic1>
Transpose the top image.'

def do_transpose(self):

    transpose = self.do_pop().upper()
    image = self.do_pop()
    self.push(image.transpose(transpose))
