From 7883b285b5866a92e96ebf7292d3f035be1ac71d Mon Sep 17 00:00:00 2001 From: Toke Eskildsen <te@ekot.dk> Date: Wed, 4 Dec 2013 13:38:01 +0100 Subject: [PATCH] Closes #18 - full histogram statistics --- quack.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/quack.sh b/quack.sh index 3a4316f..1975739 100755 --- a/quack.sh +++ b/quack.sh @@ -696,7 +696,9 @@ function makePreviewPage() { GREY_COUNT_LAST=`echo "$GREY" | cut -d\ -f6` GREY_PERCENT_LAST=`echo "$GREY" | cut -d\ -f7` GREY_LAST=`echo "$GREY" | cut -d\ -f8` - + local GREY_ALL_SOURCE=`im_identify $SOURCE_IMAGE` + GREY_ALL=`cat "$GREY_ALL_SOURCE" | grep -A 256 Histogram | tail -n 256` + ctemplate $IMAGE_TEMPLATE > $P # ls -l "$IMAGE" -- GitLab