blp 0.1.37

Blizzard BLP image format reader/writer (Warcraft/World of Warcraft textures)
Documentation
1
2
3
4
5
6
7
8
9
10
11
use image::RgbaImage;

#[derive(Debug, Default)]
pub struct Mipmap {
    pub width: u32,
    pub height: u32,
    pub image: Option<RgbaImage>,
    //
    pub offset: usize,
    pub length: usize,
}