]> git.donarmstrong.com Git - debbugs.git/blobdiff - cgi/libravatar.cgi
use resize instead of geometry
[debbugs.git] / cgi / libravatar.cgi
index 7ba5333670705e520a491ed2000a7de2b78da689..83a896b7820fd9e2dbe64ac4c08e658fa18c390f 100644 (file)
@@ -114,7 +114,8 @@ sub retreive_libravatar{
         print {$temp_fh} $r->content() or
             die "Unable to print to temp file";
         close ($temp_fh);
-        system('convert','-geometry','80x80',
+        system('convert','-resize','80x80',
+               '-strip',
                $temp_fn,
                $cache_location.'.'.$dest_type) == 0 or
                    die "convert file failed";