From: cristy Date: Wed, 18 Apr 2012 17:39:32 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5771 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78d6191d5bd74a31229d50eebfa7d408a7c3ae4b;p=imagemagick --- diff --git a/tests/validate-colorspace.sh b/tests/validate-colorspace.sh index f45de94fe..cb6b51967 100755 --- a/tests/validate-colorspace.sh +++ b/tests/validate-colorspace.sh @@ -16,6 +16,12 @@ # . ${srcdir}/tests/common.sh +depth=`eval ${MAGICK} xc:none -format '%[fx:QuantumRange]' info:-` +echo $depth +if [ "$depth" != "65535" ]; then + exit 0 +fi + # how to generate a one pixel (average rose) color and output its values in="rose: -scale 1x1" # a one pixel image of the average color. out="-format '%[fx:int(255*r+.5)],%[fx:int(255*g+.5)],%[fx:int(255*b+.5)]' info:-"