colorize — Phatch v0.2 documentation

### Navigation

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

# colorize

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

  Bases: `core.models.Action`

  Colorize grayscale image

  static `init`()
  `interface`(fields)
  static `pil`(image, black, white, amount=100)
    Apply a filter - amount: 0-1

`actions.colorize.` `colorize`(image, black, white, amount=100)
  Apply a filter - amount: 0-1

`actions.colorize.` `init`()

### Navigation

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