Skip to content
Snippets Groups Projects
Commit db2ffced authored by Toke Eskildsen's avatar Toke Eskildsen
Browse files

Temporary bugfix for wrong greyscale statistics with large images

parent 0e4fe32b
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,9 @@ function grey_stats() {
local IDENTIFY=$(im_identify "$SRC")
local GREY=${SRC%%.*}.grey
local INFO=`cat "$IDENTIFY"`
local VALUES=`cat "$IDENTIFY" | grep -B 1000 Colormap`
# TODO: No good as large images does not produce a Colormap
#local VALUES=`cat "$IDENTIFY" | grep -B 1000 Colormap`
local VALUES="$INFO"
local SAVEIFS=$IFS
IFS=$(echo -en "\n")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment