Merge pull request #938 from akimdi/master

added support svg format
This commit is contained in:
Mischievous Meerkat 2021-04-07 23:02:20 +05:30 committed by GitHub
commit a0be1c33cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ abspath() {
listimages() {
find -L "$(dirname "$target")" -maxdepth 1 -type f -iregex \
'.*\(jpe?g\|bmp\|webp\|png\|gif\)$' -print0 | sort -z
'.*\(jpe?g\|bmp\|webp\|svg\|png\|gif\)$' -print0 | sort -z
}
view_dir() {

View file

@ -267,7 +267,7 @@ abspath() {
listimages() {
find -L "$(dirname "$target")" -maxdepth 1 -type f -iregex \
'.*\(jpe?g\|bmp\|webp\|png\|gif\)$' -print0 | sort -z
'.*\(jpe?g\|bmp\|webp\|svg\|png\|gif\)$' -print0 | sort -z
}
load_dir() {