png file support
This commit is contained in:
parent
bf2711f0fa
commit
edf62d6999
|
@ -36,6 +36,7 @@ impl Palette {
|
||||||
"gpl" => Self::from_gpl(path),
|
"gpl" => Self::from_gpl(path),
|
||||||
"hex" => Self::from_hex(path),
|
"hex" => Self::from_hex(path),
|
||||||
"pal" => Self::from_jasc(path),
|
"pal" => Self::from_jasc(path),
|
||||||
|
"png" => Self::from_png(path),
|
||||||
"txt" => Self::from_txt(path),
|
"txt" => Self::from_txt(path),
|
||||||
"toml" => Self::from(
|
"toml" => Self::from(
|
||||||
path.file_stem().as_ref().unwrap().to_str().unwrap(),
|
path.file_stem().as_ref().unwrap().to_str().unwrap(),
|
||||||
|
|
Loading…
Reference in New Issue