From 6ec76f855d6a824f06ac6e912d3079c0655326fe Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Fri, 14 Sep 2007 15:42:26 +0000 Subject: Change default quality to convert default of 75 --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it.class b/it.class index 51bf790..9595080 100644 --- a/it.class +++ b/it.class @@ -393,7 +393,7 @@ function imageconvert($p) $p += array('type' => $type, 'types' => "gif,jpg,png,bmp,tif,jp2"); if (it::match(",$type,", ",{$p['types']},")) # Valid type? - $result = it::exec("convert 2>&1 -flatten -quality 80 {-opts} {in} {type}:{out}", array('-opts' => array('-thumbnail' => $p['size'])), $p) === ""; + $result = it::exec("convert 2>&1 -flatten -quality 75 {-opts} {in} {type}:{out}", array('-opts' => array('-thumbnail' => $p['size'])), $p) === ""; return $result; } -- cgit v1.2.3