From 97da3193373e179bb8b7f9959a60d9923e6d96e9 Mon Sep 17 00:00:00 2001 From: cristy Date: Tue, 24 Apr 2012 13:25:49 +0000 Subject: [PATCH] --- tests/validate-colorspace.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/validate-colorspace.sh b/tests/validate-colorspace.sh index 73be52251..6bdf292a0 100755 --- a/tests/validate-colorspace.sh +++ b/tests/validate-colorspace.sh @@ -16,6 +16,12 @@ # . ${srcdir}/tests/common.sh +depth=`eval convert 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:-" -- 2.40.0