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

Made the property ASSUME_GREY configurable

parent ccfe4dbe
No related branches found
No related tags found
No related merge requests found
...@@ -6,8 +6,11 @@ ...@@ -6,8 +6,11 @@
# Requirements: ImageMagick's identify and convert # Requirements: ImageMagick's identify and convert
# #
# TODO: Move this outside of the script # If true, input files are assumed to be greyscale.
ASSUME_GREY=true # If false, they are converted to greyscale before extracting statistics.
if [ "." == ".$ASSUME_GREY" ]; then
ASSUME_GREY=true
fi
# TODO: Accept destination for identify-file as input # TODO: Accept destination for identify-file as input
......
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