comment out a debugging string
This commit is contained in:
parent
b2a2c16388
commit
f70b1726cc
3
image.go
3
image.go
|
@ -87,7 +87,8 @@ func processBGColor(path string) (float64, error) {
|
|||
b &= b >> 8
|
||||
//a &= a >> 8
|
||||
// 25 becomes 0x19, 36 is close to 10% of 256
|
||||
fmt.Printf("0x%02x %02x %02x %02x\n", 25, r, g, b)
|
||||
//fmt.Printf("0x%02x %02x %02x %02x\n", 25, r, g, b)
|
||||
|
||||
// it wants it abgr for some reason
|
||||
rgba := fmt.Sprintf("0x%02x%02x%02x%02x", 25, b, g, r)
|
||||
rgbaInt, err := strconv.ParseInt(rgba, 0, 64)
|
||||
|
|
Loading…
Reference in New Issue