fit — Phatch v0.2 documentation

### Navigation

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

# fit

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

  Bases: `core.models.Action`

  Downsize and crop image with fixed ratio

  static `init`()
  `interface`(fields)
  static `pil`(image, size, method, bleed, centering)
  `values`(info)

`actions.fit.` `fit`(image, size, method, bleed, centering)

`actions.fit.` `init`()

### Navigation

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