]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authoranthony <anthony@git.imagemagick.org>
Mon, 16 Apr 2012 04:13:00 +0000 (04:13 +0000)
committeranthony <anthony@git.imagemagick.org>
Mon, 16 Apr 2012 04:13:00 +0000 (04:13 +0000)
tests/validate-colorspace.sh

index db282a1abdec99b04d717103d6e829e8ed63de39..94b9192b1ec78443747527d172d03406591cd52e 100755 (executable)
@@ -35,7 +35,15 @@ printf "$format2" "Too Light Color" "$too_light" "sRGB(rose)->RGB result"
 printf "$format2" "Too Dark Color"  "$too_dark"  "RGB(rose)->sRGB result"
 echo ''
 
+#
 # Sanity checks
+#
+# NOTE: as a extra validation on sanity checks below...
+#    eval ${MAGICK} "$in" -gamma .454545 "$out"
+# produces a value of  74,25,20   which is close to 73,26,21 below.
+#    eval ${MAGICK} "$in" -gamma 2.2 "$out"
+# produces a value of  198,158,151  whcih is close to 199,160,152 below.
+#
 if [ "X$average" != "X146,89,80" ]; then
   echo "Sanity Failure: Average expected to be 146,89,80 - ABORTING"
   error=true