projects
/
debbugs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
767bc2a
)
use resize instead of geometry
author
Don Armstrong
<don@donarmstrong.com>
Fri, 29 Mar 2013 00:10:53 +0000
(17:10 -0700)
committer
Don Armstrong
<don@donarmstrong.com>
Fri, 29 Mar 2013 00:10:53 +0000
(17:10 -0700)
strip out comments and text from images
cgi/libravatar.cgi
patch
|
blob
|
history
diff --git
a/cgi/libravatar.cgi
b/cgi/libravatar.cgi
index 7ba5333670705e520a491ed2000a7de2b78da689..83a896b7820fd9e2dbe64ac4c08e658fa18c390f 100644
(file)
--- 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";