Convert GBR to BLP
Max file size 100mb.
GBR vs BLP Format Comparison
| Aspect | GBR (Source Format) | BLP (Target Format) |
|---|---|---|
| Format Overview |
GBR
GIMP Brush Format
A specialized image format created by the GIMP project (GNU Image Manipulation Program) for storing custom brush tip patterns. GBR files contain a single raster image used as a stamp pattern when painting in GIMP. The format supports both grayscale brushes (version 1) and full RGBA color brushes (version 2), allowing artists to create detailed, reusable brush shapes with transparency information. Lossless Standard |
BLP
Blizzard Texture Format
A proprietary texture format developed by Blizzard Entertainment for use in their games, primarily World of Warcraft, Warcraft III, and StarCraft. BLP supports both palettized (256-color) and DXT-compressed (JPEG-based in BLP1) textures with optional alpha channels. It is optimized for real-time GPU rendering and game asset pipelines, with power-of-two dimensions and mipmap support. Standard Lossless |
| Technical Specifications |
Color Depth: 8-bit grayscale or 8-bit RGBA
Compression: Uncompressed raw pixel data Transparency: Full alpha channel (version 2) Animation: Not supported Extensions: .gbr |
Color Depth: 8-bit palettized or DXT compressed
Compression: Palettized, JPEG (BLP1), or DXT (BLP2) Transparency: 1-bit or 8-bit alpha channel Animation: Not supported Extensions: .blp |
| Image Features |
|
|
| Processing & Tools |
GBR files are natively handled by GIMP and can be parsed programmatically: # GBR brush structure # Header: size(4) + version(4) + width(4) # + height(4) + bpp(4) + name(null-term) # Data: raw pixel data (grayscale or RGBA) # Place .gbr files in GIMP brushes directory # ~/.config/GIMP/2.10/brushes/ |
BLP textures for Blizzard game modding: # Convert with BLP Lab or Pillow
from PIL import Image
img = Image.open("input.png")
img.save("output.blp")
# BLP2 format (WoW) via Pillow
# Pillow handles BLP read/write natively
# Ensures proper palettized output
|
| Advantages |
|
|
| Disadvantages |
|
|
| Common Uses |
|
|
| Best For |
|
|
| Version History |
Introduced: 1995 (GIMP 0.54)
Current Version: Version 2 (RGBA support) Status: Stable, maintained by GIMP project Evolution: v1 (grayscale) → v2 (RGBA color) |
Introduced: 2002 (Warcraft III)
Current Version: BLP2 (World of Warcraft) Status: Active in Blizzard game ecosystem Evolution: BLP1 (Warcraft III, 2002) → BLP2 (WoW, 2004) |
| Software Support |
Image Editors: GIMP (native), limited third-party support
Web Browsers: Not supported OS Preview: Not natively supported Mobile: Not supported CLI Tools: GIMP Script-Fu, Python with custom parser |
Image Editors: BLP Lab, Photoshop (BLP plugin), GIMP (plugin)
Web Browsers: Not supported OS Preview: Not natively supported Mobile: Not supported CLI Tools: Pillow (native), BLP Lab CLI, WoW Modding Tools |
Why Convert GBR to BLP?
Converting GBR to BLP enables artists to transform their GIMP brush patterns into game-ready textures for Blizzard Entertainment titles. BLP is the native texture format for World of Warcraft, Warcraft III, and other Blizzard games, making this conversion essential for modders who create custom brushes in GIMP and want to use those designs as in-game textures, UI elements, or visual effects.
Brush patterns created in GIMP often serve as excellent source material for game textures. Organic patterns like foliage, stone textures, and particle effects that start as GBR brushes can be repurposed as tiling game textures. Converting to BLP ensures these patterns are properly formatted for the game engine, with appropriate palette compression and power-of-two dimensions that GPUs require for efficient rendering.
The BLP format includes built-in mipmap support, which means the game engine can automatically select the appropriate resolution level based on viewing distance. This is a significant advantage over the single-resolution GBR format, as it prevents texture aliasing and improves rendering performance. The conversion process generates these mipmap levels from the original brush data.
For World of Warcraft addon developers and custom UI creators, this conversion pathway allows unique brush-based artwork to be used directly in the game interface. Custom icons, button textures, and decorative elements designed as GIMP brushes can be converted to BLP and loaded by the WoW addon system, giving mod creators access to completely original visual assets.
Key Benefits of Converting GBR to BLP:
- Game Integration: Use custom brush art directly in World of Warcraft and Warcraft III
- GPU Optimization: BLP textures load efficiently on graphics hardware
- Mipmap Support: Automatic level-of-detail for smooth rendering at all distances
- Modding Pipeline: Streamline the workflow from GIMP creation to in-game asset
- Alpha Channel: Preserve brush transparency for texture blending effects
- Compact Format: Palette compression keeps texture files small for game distribution
- Custom Content: Create unique game textures from original brush artwork
Practical Examples
Example 1: Creating WoW Custom UI Textures
Scenario: A WoW addon developer designs custom button and border textures as GIMP brushes and needs to convert them to BLP for use in their addon.
Source: ornate_border.gbr (128x128px, RGBA, 65 KB) Conversion: GBR → BLP (palettized with alpha) Result: ornate_border.blp (128x128px, ~18 KB with mipmaps) Workflow: 1. Design decorative border brush in GIMP 2. Convert GBR to BLP with alpha channel 3. Place BLP in WoW addon's textures folder 4. Reference texture path in addon Lua/XML code ✓ Custom ornate borders visible in game UI ✓ Alpha channel enables seamless overlay on game frames
Example 2: Warcraft III Custom Map Textures
Scenario: A Warcraft III map maker creates terrain splat textures in GIMP as brushes and needs them in BLP format for the World Editor.
Source: grass_patch.gbr (256x256px, RGBA, 262 KB) Conversion: GBR → BLP (DXT compression) Result: grass_patch.blp (256x256px, ~44 KB) Map editing benefits: ✓ BLP texture imports directly into Warcraft III World Editor ✓ Mipmap chain ensures smooth display at all zoom levels ✓ DXT compression keeps map file size manageable ✓ Transparent areas blend with existing terrain textures ✓ Custom terrain details unique to the map
Example 3: Game Particle Effect Textures
Scenario: An artist creates particle effect brushes (sparks, smoke puffs, magic effects) in GIMP for use as particle textures in Blizzard game mods.
Source: magic_spark.gbr (64x64px, RGBA, 16 KB) Conversion: GBR → BLP (with full alpha) Result: magic_spark.blp (64x64px, ~5 KB) Particle system benefits: ✓ Soft brush edges create natural particle fade-out ✓ Small file size ideal for particle systems with many instances ✓ Alpha channel enables additive blending effects ✓ Power-of-two size optimal for GPU particle rendering ✓ Multiple brush variants create varied particle appearances
Frequently Asked Questions (FAQ)
Q: What is the BLP format used for?
A: BLP (Blizzard Picture) is the primary texture format used in Blizzard Entertainment games including World of Warcraft, Warcraft III, and StarCraft. It stores game textures, UI elements, icons, and visual effects. BLP supports palette-based and DXT-compressed storage with optional alpha channels and mipmaps for efficient GPU rendering.
Q: Do GBR brush dimensions need to be power-of-two for BLP?
A: BLP textures typically require power-of-two dimensions (64, 128, 256, 512, etc.) for proper GPU rendering. If your GBR brush is not a power-of-two size, the conversion process will resize the image to the nearest power-of-two dimension. For best results, create your brushes at power-of-two sizes from the start.
Q: Will the brush alpha channel work in BLP?
A: Yes, BLP supports alpha channels for transparency blending. RGBA GBR brushes will have their alpha channel preserved in the BLP output, enabling transparent areas and soft edges. This is especially useful for particle textures, overlays, and UI elements that need to blend with the game background.
Q: Which BLP version is generated by the conversion?
A: The conversion generates BLP2 format, which is the version used by World of Warcraft (2004+). BLP2 supports palettized storage with up to 256 colors and an alpha channel. If you need BLP1 format for Warcraft III, additional conversion tools like BLP Lab may be required.
Q: Can I use converted BLP files directly in World of Warcraft?
A: Yes, converted BLP files can be used in WoW addons by placing them in the addon's texture directory and referencing them via the addon's Lua or XML code. For texture replacement mods, the BLP files need to follow WoW's specific naming conventions and directory structure.
Q: How does palettized BLP compare to the original GBR quality?
A: Palettized BLP uses a 256-color palette, which may reduce color fidelity for complex RGBA brushes with many color gradients. However, for most brush patterns — which tend to be limited in color range — the visual difference is minimal. Simple grayscale GBR brushes convert to BLP without any visible quality loss.
Q: What is the maximum BLP texture size?
A: BLP textures support sizes up to 2048x2048 pixels in most Blizzard game engines, with some newer games supporting 4096x4096. For brush conversions, typical sizes range from 64x64 to 512x512, which fall well within these limits. Larger textures consume more GPU memory and may impact game performance.
Q: Are mipmaps generated during conversion?
A: The BLP format supports mipmaps, and the Pillow library generates the appropriate mipmap chain during conversion. Mipmaps are progressively smaller versions of the texture that the GPU uses for rendering at different distances, improving both visual quality and performance in games.