          """
          kernels = self._get_erosion_kernels(mask)
          if not any(k.any() for k in kernels):
              return mask  # No kernels could be created from selected input res
          eroded = []
          for idx, (kernel, ratio) in enumerate(zip(kernels, self._erodes)):
              if not kernel.any():
                  continue
              anchor = [-1, -1]
              if idx > 0:
 
</s> remove         mask = np.min(np.array(eroded), axis=0) if len(eroded) > 1 else eroded[0]
        return mask[..., None]
 </s> add         return eroded[..., None] </s> remove             eroded.append(func(mask, kernel, iterations=1, anchor=anchor))
 </s> add             eroded = func(eroded, kernel, iterations=1, anchor=anchor)
        eroded = mask
          """
          kernels = self._get_erosion_kernels(mask)
          if not any(k.any() for k in kernels):
              return mask  # No kernels could be created from selected input res
        eroded = mask
          for idx, (kernel, ratio) in enumerate(zip(kernels, self._erodes)):
              if not kernel.any():
                  continue
              anchor = [-1, -1]
              if idx > 0:
keep keep keep keep replace keep keep keep keep keep
 bugfix: Mask blend. Apply masks in sequence 
plugins/convert/mask/mask_blend.py