Imports github.com/fogleman/simplify Standard library imports image image/color image/jpeg image/png bufio encoding/binary errors fmt io math math/rand os path/filepath runtime strconv strings sync