From f70b1726ccfd59478dc73645ac0d5cb4e01f01bf Mon Sep 17 00:00:00 2001 From: Octopus Octopus Date: Wed, 26 Feb 2025 11:47:27 -0600 Subject: [PATCH] comment out a debugging string --- image.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)