# `HtmlToMarkdown.ImageMetadata`

Image metadata with source and dimensions.

Captures `<img>` elements and inline `<svg>` elements with metadata
for image analysis and optimization.

# Examples

```
let img = ImageMetadata {
    src: "https://example.com/image.jpg".to_string(),
    alt: Some("An example image".to_string()),
    title: Some("Example".to_string()),
    dimensions: Some(ImageDimensions { width: 800, height: 600 }),
    image_type: ImageType::External,
    attributes: Default::default(),
};

assert_eq!(img.image_type, ImageType::External);
```

# `t`

```elixir
@type t() :: %HtmlToMarkdown.ImageMetadata{
  alt: String.t() | nil,
  attributes: map(),
  dimensions: map() | nil,
  image_type: String.t() | nil,
  src: String.t() | nil,
  title: String.t() | nil
}
```

Image metadata with source and dimensions.

---

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