Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6271)

Issue 4174053: code review 4174053: image/png: support for more formats

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 2 months ago by mti
Modified:
13 years, 2 months ago
Reviewers:
nigeltao
CC:
nigeltao, golang-dev
Visibility:
Public.

Description

image/png: support for more formats Added support for reading images with grayscale + alpha and for images with depth 1, 2 or 4.

Patch Set 1 #

Patch Set 2 : diff -r f63d27518fb0 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r f814f61fdbab https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 4 : diff -r 872a4116038c https://go.googlecode.com/hg/ #

Total comments: 3

Patch Set 5 : diff -r bc53bdb99fcf https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+455 lines, -187 lines) Patch
M src/pkg/image/png/reader.go View 1 2 3 4 15 chunks +147 lines, -27 lines 0 comments Download
M src/pkg/image/png/reader_test.go View 1 2 3 4 4 chunks +42 lines, -15 lines 0 comments Download
M src/pkg/image/png/testdata/pngsuite/README View 1 2 3 4 1 chunk +11 lines, -1 line 0 comments Download
M src/pkg/image/png/testdata/pngsuite/basn0g01.sng View 1 1 chunk +33 lines, -33 lines 0 comments Download
A src/pkg/image/png/testdata/pngsuite/basn0g01-30.png View 1 2 3 Binary file 0 comments Download
A src/pkg/image/png/testdata/pngsuite/basn0g01-30.sng View 1 2 3 1 chunk +39 lines, -0 lines 0 comments Download
M src/pkg/image/png/testdata/pngsuite/basn0g02.sng View 1 1 chunk +33 lines, -33 lines 0 comments Download
A src/pkg/image/png/testdata/pngsuite/basn0g02-29.png View 1 2 3 Binary file 0 comments Download
A src/pkg/image/png/testdata/pngsuite/basn0g02-29.sng View 1 1 chunk +38 lines, -0 lines 0 comments Download
M src/pkg/image/png/testdata/pngsuite/basn0g04.sng View 1 1 chunk +33 lines, -33 lines 0 comments Download
A src/pkg/image/png/testdata/pngsuite/basn0g04-31.png View 1 2 3 Binary file 0 comments Download
A src/pkg/image/png/testdata/pngsuite/basn0g04-31.sng View 1 1 chunk +40 lines, -0 lines 0 comments Download
M src/pkg/image/png/testdata/pngsuite/basn3p02.sng View 1 1 chunk +4 lines, -7 lines 0 comments Download
M src/pkg/image/png/testdata/pngsuite/basn3p04.sng View 1 1 chunk +2 lines, -5 lines 0 comments Download
M src/pkg/image/png/testdata/pngsuite/basn4a08.sng View 1 1 chunk +33 lines, -33 lines 0 comments Download

Messages

Total messages: 9
mti
Hello golang-dev@googlegroups.com (cc: mti@tillenius.com, nigeltao_gnome), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 2 months ago (2011-02-17 15:10:08 UTC) #1
rsc1
R=nigeltao
13 years, 2 months ago (2011-02-17 16:03:24 UTC) #2
nigeltao
Code looks good. I just have a couple of questions about the test data. http://codereview.appspot.com/4174053/diff/7002/src/pkg/image/png/testdata/pngsuite/README ...
13 years, 2 months ago (2011-02-18 00:25:09 UTC) #3
mti
Hello nigeltao (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 2 months ago (2011-02-18 19:34:39 UTC) #4
mti
I have added some more explanation about where the testfiles come from in the README. ...
13 years, 2 months ago (2011-02-18 19:35:46 UTC) #5
nigeltao
http://codereview.appspot.com/4174053/diff/5003/src/pkg/image/png/reader.go File src/pkg/image/png/reader.go (right): http://codereview.appspot.com/4174053/diff/5003/src/pkg/image/png/reader.go#newcode330 src/pkg/image/png/reader.go:330: bpp := (bitpp + 7) / 8 // Bytes ...
13 years, 2 months ago (2011-02-21 06:51:56 UTC) #6
mti
Hello nigeltao (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 2 months ago (2011-02-21 07:43:04 UTC) #7
nigeltao
LGTM.
13 years, 2 months ago (2011-02-21 23:04:38 UTC) #8
nigeltao
13 years, 2 months ago (2011-02-21 23:04:50 UTC) #9
*** Submitted as http://code.google.com/p/go/source/detail?r=f544e8096278 ***

image/png: support for more formats

Added support for reading images with grayscale + alpha and
for images with depth 1, 2 or 4.

R=nigeltao
CC=golang-dev
http://codereview.appspot.com/4174053

Committer: Nigel Tao <nigeltao@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b