def __init__(self, filename): """ create from a filename (String)""" self.obj = filename_object(filename)
def jump_object(self, num): """ jump to and read image """ return filename_object(self.jump(num))
def current_object(self): """ current image in sequence """ return filename_object(self.current())
def next_object(self): """ Return the next image """ return filename_object(self.next())
def previous_object(self): """ Return the previous image """ return filename_object(self.previous())
def first_object(self): """ first image in a sequence """ return filename_object(self.first())
def last_object(self): """ last image in a sequence """ return filename_object(self.last())