An engagement based washing machine that spins you round and round!
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove unused import and variable

Brooke cfa1a520 82ff4525

+1 -2
+1 -2
internal/image/processor.go
··· 6 6 "image" 7 7 "image/color" 8 8 "image/jpeg" 9 - "image/png" 10 9 "io" 11 10 "net/http" 12 11 ··· 49 48 // with a circular mask in the center 50 49 func (p *Processor) RotateImage(data []byte, degrees float64) ([]byte, string, error) { 51 50 // Decode the image 52 - img, format, err := image.Decode(bytes.NewReader(data)) 51 + img, _, err := image.Decode(bytes.NewReader(data)) 53 52 if err != nil { 54 53 return nil, "", fmt.Errorf("failed to decode image: %w", err) 55 54 }