golang-image/draw
Nigel Tao 697863cec6 draw: clamp kernel output so red, green and blue <= alpha.
The raw computation can produce red > alpha when some weights are
negative.

Change-Id: Ic6701354770f012d3ef21a390a8400e14e9d1e25
Reviewed-on: https://go-review.googlesource.com/8740
Reviewed-by: Rob Pike <r@golang.org>
2015-04-10 05:40:26 +00:00
..
draw.go draw: new package, a superset of the standard library's image/draw 2015-02-17 23:20:02 +00:00
example_test.go draw: implement NearestNeighbor and ApproxBiLinear Transform. 2015-03-16 23:32:22 +00:00
gen.go draw: clamp kernel output so red, green and blue <= alpha. 2015-04-10 05:40:26 +00:00
impl.go draw: clamp kernel output so red, green and blue <= alpha. 2015-04-10 05:40:26 +00:00
scale_test.go draw: clamp kernel output so red, green and blue <= alpha. 2015-04-10 05:40:26 +00:00
scale.go draw: substitute Src for Over when the source image is completely opaque. 2015-04-08 22:38:33 +00:00