'usage: thumbnail <int:xsize> <int:ysize> <image:pic1>
Modify the top image in the stack to contain a thumbnail of itself.'

def do_thumbnail(self):

    ysize = int(self.do_pop())
    xsize = int(self.do_pop())
    self.top().thumbnail((xsize, ysize))
