added support webp format (#652)

* added support webp format

* update nuke plugin with support webp format
This commit is contained in:
akimdi 2020-06-16 16:38:46 +03:00 committed by GitHub
parent 4b4bf6cca5
commit 6548a0fa7c
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() { listimages() {
find -L "$(dirname "$target")" -maxdepth 1 -type f -iregex \ find -L "$(dirname "$target")" -maxdepth 1 -type f -iregex \
'.*\(jpe?g\|bmp\|png\|gif\)$' -print0 | sort -z '.*\(jpe?g\|bmp\|webp\|png\|gif\)$' -print0 | sort -z
} }
view_dir() { view_dir() {

View file

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