          return blur_size
  
      def apply_fixes(self, frame, new_image, image_mask, image_size):
          """ Apply fixes """
          masked = new_image  # * image_mask
  
          if self.args.draw_transparent:
              alpha = np.full((image_size[1], image_size[0], 1), 255.0, dtype='float32')
              new_image = np.concatenate(new_image, alpha, axis=2)
              image_mask = np.concatenate(image_mask, alpha, axis=2)
 
</s> remove             np.clip(masked, 0.0, 255.0, out=masked)
 </s> add             np.clip(new_image, 0.0, 255.0, out=new_image) </s> remove             np.clip(masked, 0.0, 255.0, out=masked)
            masked = self.color_hist_match(masked, frame, image_mask)
 </s> add             np.clip(new_image, 0.0, 255.0, out=new_image)
            new_image = self.color_hist_match(new_image, frame, image_mask) </s> remove             foreground = masked * image_mask
 </s> add             foreground = new_image * image_mask </s> remove                 masked = masked + adjustment
 </s> add                 new_image = new_image + adjustment </s> remove                                 (15, 15),
                                10)
        new_face[crop, crop] = (mask / 255 * new_face +
                                (1 - mask / 255) * old_face)
 </s> add                                 (window, window),
                                sigma)
        new_face[crop, crop] = (mask * new_face + (1.0 - mask ) * old_face)
          return blur_size
  
      def apply_fixes(self, frame, new_image, image_mask, image_size):
          """ Apply fixes """

  
          if self.args.draw_transparent:
              alpha = np.full((image_size[1], image_size[0], 1), 255.0, dtype='float32')
              new_image = np.concatenate(new_image, alpha, axis=2)
              image_mask = np.concatenate(image_mask, alpha, axis=2)
keep keep keep keep replace keep keep keep keep keep
 auto smooth edges size and clarify naming 
plugins/convert/masked.py