This script was inspired by initial work by jstpcs
Additional features:
* breaks compatibility to have an easier interface and easier code
* can either read the entire picture to get the background color (slow)
* or pick the color of the top-left pixel (fast, default)
* doesn't scale pictures up to avoid "fuzzy" pictures
* now has a proper license (BSD-2)