# `Image.Options.Crop`
[🔗](https://github.com/elixir-image/image/blob/v0.65.0/lib/image/options/crop.ex#L1)

Options and option validation for `Image.crop/5`.

# `crop_focus`

```elixir
@type crop_focus() :: :none | :center | :entropy | :attention | :low | :high
```

Indicates how to determine where to crop
an image to fill a target area.

* `:none` means the image will be reduced
  to fit the required bounding box and
  no cropping will occur.

* `:center` means crop from the center of
  the image. The central part of the image
  will be returned, cropped to fill the
  bounding box.

* `:entropy` uses an entropy measure.

* `:attention` means crop the image by looking
  for features likely to draw human attention.

* `:low` means position the crop towards the
  low coordinate. This means the bottom part
  of the image remains after the crop.

* `:high` means position the crop towards the
  high coordinate. This means the top part
  of the image remains after the crop.

# `crop_options`

```elixir
@type crop_options() :: []
```

Options applicable to cropping an
image.

Currently there are no options.

# `validate_options`

Validates options to `Iamge.crop/5`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
