golang-image/tiff
Benny Siegert c35a1ecb6c go.image/tiff: use optimized routines for RGBA and NRGBA
Performance for an RGBA image:

benchmark          old ns/op    new ns/op    delta
BenchmarkEncode      1633495         7897  -99.52%

benchmark           old MB/s     new MB/s  speedup
BenchmarkEncode        37.83      7824.96  206.85x

NRGBA images are now encoded as such, the spec calls it
"unassociated alpha".

R=nigeltao, rsc
CC=golang-dev
https://golang.org/cl/6308049
2012-06-13 10:40:38 +10:00
..
buffer_test.go go.image: initial code. 2012-01-31 11:32:50 +11:00
buffer.go go.image/tiff: optimize reading uncompressed files from a tiff.buffer. 2012-02-21 11:25:19 +11:00
compress.go go.image: initial code. 2012-01-31 11:32:50 +11:00
consts.go go.image/tiff: initial support for writing TIFF images 2012-03-05 11:45:47 +11:00
reader_test.go go.image/tiff: use optimized routines for RGBA and NRGBA 2012-06-13 10:40:38 +10:00
reader.go go.image/tiff: optimize reading uncompressed files from a tiff.buffer. 2012-02-21 11:25:19 +11:00
writer_test.go go.image/tiff: use optimized routines for RGBA and NRGBA 2012-06-13 10:40:38 +10:00
writer.go go.image/tiff: use optimized routines for RGBA and NRGBA 2012-06-13 10:40:38 +10:00