rotate — Phatch v0.2 documentation

### Navigation

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

# rotate

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

  Bases: `core.models.Action`

  Rotate with random angle

  static `init`()
  `interface`(fields)
  static `pil`(image, angle, resample_image, expand=0, amount=100, background_color='#000000', background_opacity=100)

`actions.rotate.` `init`()

`actions.rotate.` `rotate`(image, angle, resample_image, expand=0, amount=100, background_color='#000000', background_opacity=100)

### Navigation

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