code: def load_image(name, n, m=None, gpu=None, square=None):
      
      if m is None:
          m = n
      if gpu is None:
          gpu = 0
      if square is None:
          square = 0
      command = ('Shearlab.load_image("{}", {}, {}, {}, {})'.format(name,
                 n, m, gpu, square))
      return j.eval(command)
docs: Function to load images with certain size.