go.mod
This commit is contained in:
parent
1306022794
commit
e161720f1c
4
merge.go
4
merge.go
@ -2,10 +2,10 @@ package main
|
||||
|
||||
import (
|
||||
"image"
|
||||
_ "image/png"
|
||||
_ "image/jpeg"
|
||||
"image/color"
|
||||
_ "image/jpeg"
|
||||
"image/png"
|
||||
_ "image/png"
|
||||
"os"
|
||||
)
|
||||
|
||||
|
40
palette.go
40
palette.go
@ -89,7 +89,7 @@ func main() {
|
||||
|
||||
var palette []color.Color
|
||||
|
||||
var colors []string
|
||||
var colors []string
|
||||
_ = []string{
|
||||
"#ffffec", // soft-white
|
||||
"#ff0000", // red
|
||||
@ -99,25 +99,25 @@ var colors []string
|
||||
}
|
||||
funniPalette := []string{
|
||||
"#ffffec",
|
||||
"#000000",
|
||||
"#4a3544",
|
||||
"#757575",
|
||||
"#8e8e8e",
|
||||
"#666666",
|
||||
"#4c4c4c",
|
||||
"#3b3b3b",
|
||||
"#949494",
|
||||
"#ffffff",
|
||||
"#665361",
|
||||
"#3f3f3f",
|
||||
"#525252",
|
||||
"#838383",
|
||||
"#111111",
|
||||
"#070707",
|
||||
"#b9b9b9",
|
||||
"#dfdfdf",
|
||||
}
|
||||
colors = funniPalette
|
||||
"#000000",
|
||||
"#4a3544",
|
||||
"#757575",
|
||||
"#8e8e8e",
|
||||
"#666666",
|
||||
"#4c4c4c",
|
||||
"#3b3b3b",
|
||||
"#949494",
|
||||
"#ffffff",
|
||||
"#665361",
|
||||
"#3f3f3f",
|
||||
"#525252",
|
||||
"#838383",
|
||||
"#111111",
|
||||
"#070707",
|
||||
"#b9b9b9",
|
||||
"#dfdfdf",
|
||||
}
|
||||
colors = funniPalette
|
||||
if *paletteFile != "" {
|
||||
f, err := os.Open(*paletteFile)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user