]> git.lizzy.rs Git - dirlistozxa.git/commitdiff
Add .gif and .webp to thumbnailer
authorROllerozxa <rollerozxa@voxelmanip.se>
Sat, 29 Apr 2023 18:29:41 +0000 (20:29 +0200)
committerROllerozxa <rollerozxa@voxelmanip.se>
Sat, 29 Apr 2023 18:29:41 +0000 (20:29 +0200)
gen-thumbs

index bc38ea2733264dcfe8c46f49ae882fd0c97bddcd..7841b5ff01cd93447664e08e89e5ad61ced91ade 100755 (executable)
@@ -5,4 +5,4 @@
 rm -rf .thumbs/
 mkdir .thumbs
 
-find \( -iname "*.png" -or -iname "*.jpg" -or -iname "*.jpeg" \) -exec bash -c 'mogrify -path .thumbs/ -auto-orient -thumbnail 128x128 -quality 90% "{}" &' \;
+find \( -iname "*.png" -or -iname "*.jpg" -or -iname "*.jpeg" -or -iname "*.jfif" -or -iname "*.gif" -or -iname "*.webp" \) -exec bash -c 'mogrify -path .thumbs/ -auto-orient -thumbnail 128x128 -quality 90% "{}" &' \;