comment
This commit is contained in:
parent
d66da61f70
commit
a734683772
|
@ -46,6 +46,7 @@ impl Palette {
|
||||||
Palette { name, colours }
|
Palette { name, colours }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// JASC .pal format (Paint Shop Pro)
|
||||||
pub fn to_jasc(&self) -> String {
|
pub fn to_jasc(&self) -> String {
|
||||||
let colours: Vec<String> = self.colours.iter().map(|colour|
|
let colours: Vec<String> = self.colours.iter().map(|colour|
|
||||||
format!("{} {} {}", colour.red, colour.green, colour.blue)
|
format!("{} {} {}", colour.red, colour.green, colour.blue)
|
||||||
|
|
Loading…
Reference in New Issue