From f467692a4165538a2f0bba4770a816a6e5816821 Mon Sep 17 00:00:00 2001 From: Toke Eskildsen <te@ekot.dk> Date: Wed, 4 Dec 2013 11:54:02 +0100 Subject: [PATCH] The file reference to histogram source image did not work with nested folders --- quack.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quack.sh b/quack.sh index 5121358..198963d 100755 --- a/quack.sh +++ b/quack.sh @@ -681,7 +681,8 @@ function makePreviewPage() { # image stats # grey_stats "$IMAGE" - local GREY=`grey_stats "$IMAGE"` + # TODO: Use destination if that is lossless and faster to open? + local GREY=`grey_stats "$SOURCE_IMAGE"` # $PIXELS $UNIQUE $FIRST_COUNT $PERCENT_FIRST $FIRST_GREY $LAST_COUNT $PERCENT_LAST $LAST_GREY # 1000095 512 82362 8.23 (0,0,0) 255 .02 (255,255,255) -- GitLab