code: def get_scaled_cutout_basic(self, x1, y1, x2, y2, scale_x, scale_y,
                                  method='basic'):
          
  
          new_wd = int(round(scale_x * (x2 - x1 + 1)))
          new_ht = int(round(scale_y * (y2 - y1 + 1)))
  
          return self.get_scaled_cutout_wdht(x1, y1, x2, y2, new_wd, new_ht,
                                             # TODO:
                                             # this causes a problem for the
                                             # current Glue plugin--update that
                                             #method=method
                                             )
docs: Extract a region of the image defined by corners (x1, y1) and
          (x2, y2) and scale it by scale factors (scale_x, scale_y).
  
          `method` describes the method of interpolation used, where the
          default "basic" is nearest neighbor.