]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 24 Apr 2012 13:25:49 +0000 (13:25 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 24 Apr 2012 13:25:49 +0000 (13:25 +0000)
tests/validate-colorspace.sh

index 73be522518f8864d90701a480e48eede0484e969..6bdf292a007b9b900cc61c51bb9ca07507d9cafb 100755 (executable)
 #
 . ${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:-"