mask — Phatch v0.2 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Phatch v0.2 documentation »
- actions »

# mask

class `actions.mask.` `Action`(**options)

  Bases: `core.models.Action`

  Apply a transparency mask

  static `init`()
  `interface`(fields)
  static `pil`(image, mask, resample_mask, cache=None)

`actions.mask.` `init`()

`actions.mask.` `put_mask`(image, mask, resample_mask, cache=None)

### Navigation

- index
- modules |
- next |
- previous |
- Phatch v0.2 documentation »
- actions »