diff --git a/src/palette.rs b/src/palette.rs index 262e60e..2cf76b5 100644 --- a/src/palette.rs +++ b/src/palette.rs @@ -46,6 +46,7 @@ impl Palette { Palette { name, colours } } + /// JASC .pal format (Paint Shop Pro) pub fn to_jasc(&self) -> String { let colours: Vec = self.colours.iter().map(|colour| format!("{} {} {}", colour.red, colour.green, colour.blue)