From 6548a0fa7c8657f079fbd85ee4aa3d93c309f9b1 Mon Sep 17 00:00:00 2001 From: akimdi Date: Tue, 16 Jun 2020 16:38:46 +0300 Subject: [PATCH] added support webp format (#652) * added support webp format * update nuke plugin with support webp format --- plugins/imgview | 2 +- plugins/nuke | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/imgview b/plugins/imgview index d221f98..4bbff2d 100755 --- a/plugins/imgview +++ b/plugins/imgview @@ -18,7 +18,7 @@ abspath() { listimages() { 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() { diff --git a/plugins/nuke b/plugins/nuke index 30cfe7a..2c47ce0 100755 --- a/plugins/nuke +++ b/plugins/nuke @@ -254,7 +254,7 @@ abspath() { listimages() { 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() {