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.

Fix image rotation: use color.Transparent instead of ResampleFilter

Brooke 7ee550c3 4c0f2aec

+2 -1
+2 -1
internal/image/processor.go
··· 4 4 "bytes" 5 5 "fmt" 6 6 "image" 7 + "image/color" 7 8 "image/jpeg" 8 9 "image/png" 9 10 "io" ··· 53 54 } 54 55 55 56 // Rotate the image 56 - rotated := imaging.Rotate(img, degrees, imaging.NearestNeighbor) 57 + rotated := imaging.Rotate(img, degrees, color.Transparent) 57 58 58 59 // Encode the image back to bytes 59 60 var buf bytes.Buffer