X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=cgi%2Flibravatar.cgi;h=83a896b7820fd9e2dbe64ac4c08e658fa18c390f;hb=2d8fff61383d49ae0829d338513070bcb3d0610e;hp=7ba5333670705e520a491ed2000a7de2b78da689;hpb=767bc2aa0a606737a3d0f1cb6ffd9fb131f0d2ee;p=debbugs.git diff --git a/cgi/libravatar.cgi b/cgi/libravatar.cgi index 7ba5333..83a896b 100644 --- a/cgi/libravatar.cgi +++ b/cgi/libravatar.cgi @@ -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";