Added jpeg to image extensions
This commit is contained in:
parent
ebea771424
commit
c50e957932
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ pub fn is_image(path: &Path) -> bool {
|
||||||
"png" => true,
|
"png" => true,
|
||||||
"gif" => true,
|
"gif" => true,
|
||||||
"jpg" => true,
|
"jpg" => true,
|
||||||
|
"jpeg" => true,
|
||||||
"bmp" => true,
|
"bmp" => true,
|
||||||
_ => false,
|
_ => false,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue