'Get the image extent: left, right, bottom, top'

def get_extent(self):

    (numrows, numcols) = self.get_size()
    return (((-0.5) + self.ox), ((numcols - 0.5) + self.ox), ((-0.5) + self.oy), ((numrows - 0.5) + self.oy))
