• Dustin Long's avatar
    image/png: interlacing support for png. · 5c2f01f3
    Dustin Long authored
    Fixes #6293.
    
    Image "testdata/benchRGB-interlace.png" was generated by opening "testdata/benchRGB.png" in the editor Gimp and saving it with interlacing enabled.
    
    Benchmark:
    BenchmarkDecodeRGB        	     500	   7014194 ns/op	  37.37 MB/s
    ok  	pkg/image/png	4.657s
    
    BenchmarkDecodeInterlacing	     100	  10623241 ns/op	  24.68 MB/s
    ok  	pkg/image/png	1.339s
    
    LGTM=nigeltao
    R=nigeltao, andybons, matrixik
    CC=golang-codereviews
    https://golang.org/cl/102130044
    5c2f01f3
Name
Last commit
Last update
..
color Loading commit data...
draw Loading commit data...
gif Loading commit data...
jpeg Loading commit data...
png Loading commit data...
testdata Loading commit data...
decode_example_test.go Loading commit data...
decode_test.go Loading commit data...
format.go Loading commit data...
geom.go Loading commit data...
image.go Loading commit data...
image_test.go Loading commit data...
names.go Loading commit data...
ycbcr.go Loading commit data...
ycbcr_test.go Loading commit data...