xcf-rs 0.5.0

A basic standalone GIMP XCF library in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::{LayerColorType, PixelData, Property};

#[derive(Debug, PartialEq)]
pub struct Layer {
    pub width: u32,
    pub height: u32,
    pub kind: LayerColorType,
    pub name: String,
    pub properties: Vec<Property>,
    pub pixels: PixelData,
}