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

Issue 105990046: image/jpeg: Encode *image.Gray as grayscale JPEGs.

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 10 months ago by wathiede
Modified:
9 years, 10 months ago
Reviewers:
nigeltao
CC:
nigeltao, golang-codereviews
Visibility:
Public.

Description

image/jpeg: Encode *image.Gray as grayscale JPEGs. Fixes issue 8201.

Patch Set 1 #

Patch Set 2 : diff -r 6146799f32ed https://code.google.com/p/go #

Patch Set 3 : diff -r 6146799f32ed https://code.google.com/p/go #

Patch Set 4 : diff -r 6146799f32ed https://code.google.com/p/go #

Total comments: 6

Patch Set 5 : diff -r 6146799f32ed https://code.google.com/p/go #

Total comments: 14

Patch Set 6 : diff -r 6a85be121cae https://code.google.com/p/go #

Patch Set 7 : diff -r 6a85be121cae https://code.google.com/p/go #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -36 lines) Patch
M src/pkg/image/jpeg/writer.go View 1 2 3 4 5 6 7 chunks +97 lines, -36 lines 1 comment Download
M src/pkg/image/jpeg/writer_test.go View 1 2 3 4 5 1 chunk +28 lines, -0 lines 2 comments Download

Messages

Total messages: 9
nigeltao
https://codereview.appspot.com/105990046/diff/60001/src/pkg/image/jpeg/writer.go File src/pkg/image/jpeg/writer.go (right): https://codereview.appspot.com/105990046/diff/60001/src/pkg/image/jpeg/writer.go#newcode449 src/pkg/image/jpeg/writer.go:449: // - the marker length "\x00\x08", s/tabs/spaces/ to be ...
9 years, 10 months ago (2014-06-15 12:49:01 UTC) #1
nigeltao
FYI, in the future, please run "hg mail 105990046" to actually mail out the code ...
9 years, 10 months ago (2014-06-15 12:52:47 UTC) #2
wathiede
Sorry I messed up the normal work flow. I stopped reading the Contribution Guideline prematurely ...
9 years, 10 months ago (2014-06-15 16:42:21 UTC) #3
nigeltao
https://codereview.appspot.com/105990046/diff/80001/src/pkg/image/jpeg/writer.go File src/pkg/image/jpeg/writer.go (right): https://codereview.appspot.com/105990046/diff/80001/src/pkg/image/jpeg/writer.go#newcode327 src/pkg/image/jpeg/writer.go:327: e.buf[3*i+7] = "\x22\x11\x11"[i] Strictly speaking, I think that the ...
9 years, 10 months ago (2014-06-16 05:03:15 UTC) #4
wathiede
PTAL https://codereview.appspot.com/105990046/diff/80001/src/pkg/image/jpeg/writer.go File src/pkg/image/jpeg/writer.go (right): https://codereview.appspot.com/105990046/diff/80001/src/pkg/image/jpeg/writer.go#newcode327 src/pkg/image/jpeg/writer.go:327: e.buf[3*i+7] = "\x22\x11\x11"[i] On 2014/06/16 05:03:15, nigeltao wrote: ...
9 years, 10 months ago (2014-06-17 03:56:10 UTC) #5
wathiede
On 2014/06/17 03:56:10, wathiede wrote: > PTAL > > https://codereview.appspot.com/105990046/diff/80001/src/pkg/image/jpeg/writer.go > File src/pkg/image/jpeg/writer.go (right): > ...
9 years, 10 months ago (2014-06-17 14:40:02 UTC) #6
wathiede
On 2014/06/17 14:40:02, wathiede wrote: > On 2014/06/17 03:56:10, wathiede wrote: > > PTAL > ...
9 years, 10 months ago (2014-06-18 00:21:55 UTC) #7
nigeltao
LGTM. I'll make the trivial changes and submit. https://codereview.appspot.com/105990046/diff/120001/src/pkg/image/jpeg/writer.go File src/pkg/image/jpeg/writer.go (right): https://codereview.appspot.com/105990046/diff/120001/src/pkg/image/jpeg/writer.go#newcode359 src/pkg/image/jpeg/writer.go:359: // ...
9 years, 10 months ago (2014-06-19 12:15:37 UTC) #8
nigeltao
9 years, 10 months ago (2014-06-19 12:18:34 UTC) #9
*** Submitted as https://code.google.com/p/go/source/detail?r=f39dff1bf0d4 ***

image/jpeg: encode *image.Gray as grayscale JPEGs.

Fixes issue 8201.

LGTM=nigeltao
R=nigeltao
CC=golang-codereviews
https://codereview.appspot.com/105990046

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