]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
Generate thumbnails with appripriate gamma value
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 11 Dec 2010 16:25:33 +0000 (17:25 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 11 Dec 2010 16:25:33 +0000 (17:25 +0100)
gw-tests/lib.sh

index 70f013212c281b18e1a92455263fbb81d13132fe..1a490a1e35a1457b0fd5750be80ef45a3b56a001 100644 (file)
@@ -58,7 +58,7 @@ _plot() {
     echo 'set terminal pngcairo color enhanced size 750,525 font ",10" ;' \
        "$(< plot.gp)" | gnuplot > ${testname}$I.png
     mkdir -p thumb
-    convert -size 150x105 -quality 90 -type Palette -depth 8 ${testname}$I.png thumb/${testname}$I.png
+    convert -resize 150x105 -gamma 0.5 -quality 90 -type Palette -depth 8 ${testname}$I.png thumb/${testname}$I.png
 #     echo 'set terminal pngcairo color enhanced size 150,105 font ",1";' \
 #      "$(< plot.gp)" | gnuplot > thumb/${testname}$I.png