pub struct Xcf {
pub header: XcfHeader,
pub layers: Vec<Layer>,
}
List of layers in the XCF file, in the order they are stored in the file.
(I believe this is top layer to bottom layer)
See Xcf::layer
to get a layer by name.
A GIMP XCF file.
If you need to access multiple layers at once, access layers field and use split_at
.
Open an XCF file at the path specified.
Read an XCF file from a Reader.
Get the width of the canvas.
Get the height of the canvas.
Get a reference to a layer by name
.
Get a mutable reference to a layer by name
.
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.