summaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/github.com/nfnt/resize/converter.go
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-07-20 15:11:26 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-07-24 09:28:09 -0400
commitae83df8ed5b22f9b567cb77953d47861f59580a7 (patch)
treed52376c368f409ae4adec346eb84104d57672176 /Godeps/_workspace/src/github.com/nfnt/resize/converter.go
parentb813234f4cc38e72bb94556d3a4acdcde5071468 (diff)
downloadchat-ae83df8ed5b22f9b567cb77953d47861f59580a7.tar.gz
chat-ae83df8ed5b22f9b567cb77953d47861f59580a7.tar.bz2
chat-ae83df8ed5b22f9b567cb77953d47861f59580a7.zip
Update nfnt/resize library to the most recent version (as of July 20)
Diffstat (limited to 'Godeps/_workspace/src/github.com/nfnt/resize/converter.go')
-rw-r--r--Godeps/_workspace/src/github.com/nfnt/resize/converter.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/Godeps/_workspace/src/github.com/nfnt/resize/converter.go b/Godeps/_workspace/src/github.com/nfnt/resize/converter.go
index 84bd284ba..b3dd06b8d 100644
--- a/Godeps/_workspace/src/github.com/nfnt/resize/converter.go
+++ b/Godeps/_workspace/src/github.com/nfnt/resize/converter.go
@@ -131,11 +131,11 @@ func resizeRGBA(in *image.RGBA, out *image.NRGBA, scale float64, coeffs []int16,
// reverse alpha-premultiplication.
if a != 0 {
- r *= 0xffff
+ r *= 0xff
r /= a
- g *= 0xffff
+ g *= 0xff
g /= a
- b *= 0xffff
+ b *= 0xff
b /= a
}