# `Kreuzberg.DjotImage`
[🔗](https://github.com/kreuzberg-dev/kreuzberg/blob/main/lib/kreuzberg/djot.ex#L157)

Image element in a Djot document.

Matches the Rust `DjotImage` struct.

# `t`

```elixir
@type t() :: %Kreuzberg.DjotImage{
  alt: String.t(),
  attributes: Kreuzberg.DjotAttributes.t() | nil,
  src: String.t(),
  title: String.t() | nil
}
```

# `from_map`

```elixir
@spec from_map(map()) :: t()
```

# `to_map`

```elixir
@spec to_map(t()) :: map()
```

---

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