# `OGMate.Renderer`
[🔗](https://github.com/joladev/og_mate/blob/v0.1.0/lib/og_mate/renderer.ex#L1)

Default OG image renderer (1200×630).

Layout:

    ┌──────────────────────────────┐
    │  [logo]  site_name           │  ← top-left, 80px padding
    │                              │
    │                              │
    │                              │
    │                              │
    │                              │
    │                              │
    │  Title (72px bold)           │  ← bottom y = 470
    │  Description (32px)          │  ← y = 500
    └──────────────────────────────┘

Returns `{:ok, png_binary}` on success or `{:error, reason}` if any
rendering step fails (font unavailable, image read failure, etc.).

# `render`

```elixir
@spec render(String.t(), String.t(), OGMate.Theme.t()) ::
  {:ok, binary()} | {:error, term()}
```

Render title + description + logo + site_name into a 1200×630 PNG.

Returns `{:ok, png_binary}` on success, or `{:error, reason}` if any
rendering step fails.

---

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