]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] image/jpeg: fix quantization tables to be in zig-zag order,...
authorNigel Tao <nigeltao@golang.org>
Fri, 21 Sep 2012 19:55:03 +0000 (05:55 +1000)
committerNigel Tao <nigeltao@golang.org>
Fri, 21 Sep 2012 19:55:03 +0000 (05:55 +1000)
commit56c58e4e5b21f5a254b96a7a37991a4414bea43d
treedf8b2da24b965a844d26de03ee2f54ebd0c886f4
parent5db7b7524d12bc8cc85fa321956ae19667488867
[release-branch.go1] image/jpeg: fix quantization tables to be in zig-zag order, not natural

««« backport 292816148e44
image/jpeg: fix quantization tables to be in zig-zag order, not natural
order.

JPEG images generated prior to this CL are still valid JPEGs, as the
quantization tables used are encoded in the wire format. Such JPEGs just
don't use the recommended quantization tables.

R=r, dsymonds, raph, adg
CC=golang-dev, tuom.larsen
https://golang.org/cl/6497083

»»»
src/pkg/image/jpeg/reader.go
src/pkg/image/jpeg/writer.go
src/pkg/image/jpeg/writer_test.go