# `Astral.Image.Metadata`
[🔗](https://github.com/elixir-volt/astral/blob/v0.7.0/lib/astral/image/metadata.ex#L1)

Source image metadata used by Astral image transforms.

# `t`

```elixir
@type t() :: %Astral.Image.Metadata{
  content_hash: String.t(),
  format: atom(),
  height: pos_integer(),
  path: String.t(),
  width: pos_integer()
}
```

# `read`

```elixir
@spec read(String.t()) :: {:ok, t()} | {:error, term()}
```

Read image dimensions, format, and content hash from a source file.

---

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