From 5a366eae6ea2b09a61936f5c2e8436f4b9242538 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 27 Feb 2011 16:19:11 +0100 Subject: App::Dthumb: More restrictive filetypes. Imlib2 cannot save out gif in fact. --- lib/App/Dthumb.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/Dthumb.pm b/lib/App/Dthumb.pm index 5b493ee..a8014de 100755 --- a/lib/App/Dthumb.pm +++ b/lib/App/Dthumb.pm @@ -62,7 +62,7 @@ sub read_directories { opendir($dh, $imgdir); for my $file (readdir($dh)) { - if (-f $file and $file =~ qr{ \. (png | jp e? g | gif | tif) $ }iox) { + if (-f $file and $file =~ qr{ \. (png | jp e? g) $ }iox) { push(@files, $file); } } -- cgit v1.2.3