comment out a debugging string

This commit is contained in:
Octopus Octopus 2025-02-26 11:47:27 -06:00
parent b2a2c16388
commit f70b1726cc
1 changed files with 2 additions and 1 deletions

View File

@ -87,7 +87,8 @@ func processBGColor(path string) (float64, error) {
b &= b >> 8 b &= b >> 8
//a &= a >> 8 //a &= a >> 8
// 25 becomes 0x19, 36 is close to 10% of 256 // 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 // it wants it abgr for some reason
rgba := fmt.Sprintf("0x%02x%02x%02x%02x", 25, b, g, r) rgba := fmt.Sprintf("0x%02x%02x%02x%02x", 25, b, g, r)
rgbaInt, err := strconv.ParseInt(rgba, 0, 64) rgbaInt, err := strconv.ParseInt(rgba, 0, 64)