From edf62d69998500926fdd9a424151083fe82e839c Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sun, 16 May 2021 22:44:13 +0100 Subject: [PATCH] png file support --- src/palette.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/palette.rs b/src/palette.rs index 428f443..20dc72f 100644 --- a/src/palette.rs +++ b/src/palette.rs @@ -36,6 +36,7 @@ impl Palette { "gpl" => Self::from_gpl(path), "hex" => Self::from_hex(path), "pal" => Self::from_jasc(path), + "png" => Self::from_png(path), "txt" => Self::from_txt(path), "toml" => Self::from( path.file_stem().as_ref().unwrap().to_str().unwrap(),