xcf 0.1.2

A basic standalone GIMP XCF library in Rust.
Documentation

XCF File Utility

Latest Version

I wrote this for extracting layer and pixel data from XCF files for my game's art pipeline.

Currently this is its only functionality (and these must either be RGB or RGBA images). Tests needed. Contributions welcome.

Example

extern crate xcf;
use xcf::Xcf;

fn main() {
    let mut rdr = File::open("untitled.xcf")
        .expect("Failed to open file.");
    let raw_image = Xcf::parse(&mut rdr)
        .expect("Failed to parse XCF file.");
}