'usage: filter <string:filtername> <image:pic1>
Process the top image with the given filter.'

def do_filter(self):

    from PIL import ImageFilter
    imageFilter = getattr(ImageFilter, self.do_pop().upper())
    image = self.do_pop()
    self.push(image.filter(imageFilter))
