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

Issue 1897049: code review 1897049: Grayscale (8 bits only) support for png

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

Description

Grayscale (8 bits only) support for png

Patch Set 1 #

Patch Set 2 : code review 1897049: Gray and gray16 for png #

Patch Set 3 : code review 1897049: Grayscale (8 bits only) support for png #

Total comments: 4

Patch Set 4 : code review 1897049: Grayscale (8 bits only) support for png #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -5 lines) Patch
M src/pkg/image/png/reader.go View 1 2 3 5 chunks +13 lines, -1 line 1 comment Download
M src/pkg/image/png/reader_test.go View 2 3 chunks +8 lines, -1 line 0 comments Download
M src/pkg/image/png/writer.go View 1 2 3 3 chunks +17 lines, -3 lines 0 comments Download

Messages

Total messages: 10
mpl
Hello nigeltao_golang (cc: golang-dev@googlegroups.com), I'd like you to review this change.
13 years, 9 months ago (2010-08-04 12:43:27 UTC) #1
nigeltao
You're doing two things in your change: you're supporting grayscale images, and you're supporting 16-bit ...
13 years, 9 months ago (2010-08-05 03:08:39 UTC) #2
mpl
I only did the 16 bits case because you introduced it in image, I wanted ...
13 years, 9 months ago (2010-08-05 08:11:05 UTC) #3
nigeltao_gnome
On 5 August 2010 18:11, <mathieu.lonjaret@gmail.com> wrote: > I only did the 16 bits case ...
13 years, 9 months ago (2010-08-06 01:17:27 UTC) #4
mpl
Hello nigeltao_golang (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 9 months ago (2010-08-06 08:41:29 UTC) #5
nigeltao
http://codereview.appspot.com/1897049/diff/4/4004 File src/pkg/image/png/reader.go (right): http://codereview.appspot.com/1897049/diff/4/4004#newcode289 src/pkg/image/png/reader.go:289: gray.Set(x, y, image.GrayColor{cdat[1*x+0]}) Drop the "1*" and "+0". http://codereview.appspot.com/1897049/diff/4/4006 ...
13 years, 8 months ago (2010-08-09 01:34:58 UTC) #6
mpl
Hello nigeltao_golang (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 8 months ago (2010-08-09 09:41:09 UTC) #7
mpl
On 2010/08/09 01:34:58, nigeltao_golang wrote: > http://codereview.appspot.com/1897049/diff/4/4004 > File src/pkg/image/png/reader.go (right): > > http://codereview.appspot.com/1897049/diff/4/4004#newcode289 > ...
13 years, 8 months ago (2010-08-09 09:43:44 UTC) #8
r
http://codereview.appspot.com/1897049/diff/19001/20001 File src/pkg/image/png/reader.go (right): http://codereview.appspot.com/1897049/diff/19001/20001#newcode180 src/pkg/image/png/reader.go:180: return UnsupportedError("Grayscale transparency") s/G/g/
13 years, 8 months ago (2010-08-10 02:01:24 UTC) #9
nigeltao
13 years, 8 months ago (2010-08-10 02:25:07 UTC) #10
*** Submitted as http://code.google.com/p/go/source/detail?r=e2d8f7e60f7c ***

png: grayscale support.

R=nigeltao_golang, r
CC=golang-dev
http://codereview.appspot.com/1897049

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