Imports github.com/mccutchen/palettor github.com/nfnt/resize Standard library imports image encoding/json flag fmt image/draw image/gif image/jpeg image/png io log math os