# Cerebro Media Assets

This folder contains custom textures and images used by the Cerebro addon.

## Adding New Images

### Supported Formats

- **TGA** (.tga) - Recommended for transparency support
- **BLP** (.blp) - Blizzard's native format (smallest file size)

### Requirements

- **Dimensions**: Use power-of-2 sizes (64, 128, 256, 512, etc.)
- **Color depth**: 32-bit for alpha transparency
- **File naming**: Use descriptive names, no spaces (e.g., `CerebLogoSmall.tga`)

### Converting Images

#### From PNG/JPG to TGA

Use GIMP, Photoshop, or online converters. Export as 32-bit TGA with RLE compression.

#### From PNG to BLP (optional)

Use [BLP Lab](https://github.com/Marlamin/BLPLab) or similar tools for smaller file sizes.

---

## Using Images in Lua

### Direct Path Reference

```lua
local path = "Interface\\AddOns\\Cerebro\\Media\\YourImage"
texture:SetTexture(path)
```

### Using the Media Helper

```lua
-- After including MediaPaths.lua
local path = Cerebro.Media.GetPath("YourImage")
texture:SetTexture(path)
```

---

## Current Assets

| File               | Size   | Usage                     |
|--------------------|--------|---------------------------|
| MinimapButton.tga  | ~10 KB | Minimap icon button       |

---

## File Structure

```
Media/
├── README.md          # This file
├── MinimapButton.tga  # Minimap button icon
└── (add new assets here)
```
