png file support

This commit is contained in:
Max Bradbury 2021-05-16 22:44:13 +01:00
parent bf2711f0fa
commit edf62d6999
1 changed files with 1 additions and 0 deletions

View File

@ -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(),