code: def _increase(self, resource):
          
          original_width, original_height = resource.size
  
          target_width = original_width + self.value
          target_height = original_height + self.value
  
          resource = resource.resize((target_width, target_height), Image.ANTIALIAS)
  
          return resource
docs: Increase image size
          :param resource: Image
          :return: Image