anthonynsimon / bild

Image processing algorithms in pure Go
MIT License
3.99k stars 213 forks source link

Update effect.go #66

Closed r2pgl closed 5 years ago

r2pgl commented 5 years ago

fix edge detection. false returns transparent images. true does not. Does this change make sense?

anthonynsimon commented 5 years ago

When the setting is set to true it would keep the original alpha of the image instead of convolving it, which makes sense in this effect IMO.

👍 thanks for the PR, sorry to have taken so long.