diff --git a/image.go b/image.go index 6430571..0b6ab44 100644 --- a/image.go +++ b/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)