Skip to content

Instantly share code, notes, and snippets.

@jspdown
Created January 28, 2017 10:21
Show Gist options
  • Save jspdown/08e0e3ac896bf58adf1a13bec825393f to your computer and use it in GitHub Desktop.
Save jspdown/08e0e3ac896bf58adf1a13bec825393f to your computer and use it in GitHub Desktop.
Color-summarizer
#! /bin/bash
URL=$1
PRECISION=vhigh
function usage {
echo 'Usage: colora <http://site/image.jpg>';
exit 1
}
if [ "$#" -ne 1 ]; then
usage
fi
open "http://mkweb.bcgsc.ca/color-summarizer/?url=${URL}&precision=${PRECISION}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment