summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-02-27 16:19:11 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-02-27 16:19:11 +0100
commit5a366eae6ea2b09a61936f5c2e8436f4b9242538 (patch)
treedeca83b2caac922802df9102ece1350ee7a4e1b0
parent2193d7f18ecb2e9ed325366f60d9dc4b35110df2 (diff)
App::Dthumb: More restrictive filetypes. Imlib2 cannot save out gif in fact.
-rwxr-xr-xlib/App/Dthumb.pm2
1 files changed, 1 insertions, 1 deletions
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);
}
}