go/src/image/png/writer_test.go

func diff(m0, m1 image.Image) error {}

func encodeDecode(m image.Image) (image.Image, error) {}

func convertToNRGBA(m image.Image) *image.NRGBA {}

func TestWriter(t *testing.T) {}

func TestWriterPaletted(t *testing.T) {}

func TestWriterLevels(t *testing.T) {}

func TestSubImage(t *testing.T) {}

func TestWriteRGBA(t *testing.T) {}

func BenchmarkEncodeGray(b *testing.B) {}

type pool

func (p *pool) Get() *EncoderBuffer {}

func (p *pool) Put(b *EncoderBuffer) {}

func BenchmarkEncodeGrayWithBufferPool(b *testing.B) {}

func BenchmarkEncodeNRGBOpaque(b *testing.B) {}

func BenchmarkEncodeNRGBA(b *testing.B) {}

func BenchmarkEncodePaletted(b *testing.B) {}

func BenchmarkEncodeRGBOpaque(b *testing.B) {}

func BenchmarkEncodeRGBA(b *testing.B) {}