summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorGabriele Giacone <1o5g4r8o@gmail.com>2014-06-17 16:25:43 +0200
committerHolger Levsen <holger@layer-acht.org>2014-06-17 16:29:40 +0200
commit4b39614c202c1982ff98efc24976dfcf53003815 (patch)
treeb3cf9928989b091d4b187633a560141604df9d5a /bin
parent58fa26f438c1b51e1bd25b933d8db5884d5550c9 (diff)
downloadjenkins.debian.net-4b39614c202c1982ff98efc24976dfcf53003815.tar.xz
Reduce fake screenshot depth to 8bit, like real ones.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/g-i-installation.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index 59d20f77..34b87b60 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -865,7 +865,7 @@ monitor_system() {
rm snapshot_${PRINTF_NR}.jpg
else
echo "$PRINTF_NR: $(date) - could not take vncsnapshot from $DISPLAY - using a blank fake one instead"
- convert -size $VIDEOSIZE xc:none snapshot_${PRINTF_NR}.ppm
+ convert -size $VIDEOSIZE xc:none -depth 8 snapshot_${PRINTF_NR}.ppm
fi
# give signal we are still running
if [ $(($NR % 14)) -eq 0 ] ; then