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

Issue 13407045: code review 13407045: go.image/bmp: add Encode (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by chai2010
Modified:
10 years, 3 months ago
Reviewers:
nigeltao
CC:
nigeltao, golang-dev
Visibility:
Public.

Description

go.image/bmp: add Encode

Patch Set 1 #

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

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

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

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

Total comments: 28

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

Total comments: 6

Patch Set 7 : diff -r 0788e15aed14 https://code.google.com/p/go.image #

Total comments: 6

Patch Set 8 : diff -r 0788e15aed14 https://code.google.com/p/go.image #

Total comments: 8

Patch Set 9 : diff -r 0788e15aed14 https://code.google.com/p/go.image #

Patch Set 10 : diff -r 0788e15aed14 https://code.google.com/p/go.image #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -1 line) Patch
M bmp/reader.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A bmp/writer.go View 1 2 3 4 5 6 7 8 1 chunk +158 lines, -0 lines 0 comments Download
A bmp/writer_test.go View 1 2 3 4 5 1 chunk +56 lines, -0 lines 0 comments Download

Messages

Total messages: 12
chai2010
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go.image
10 years, 8 months ago (2013-09-04 06:07:53 UTC) #1
nigeltao
https://codereview.appspot.com/13407045/diff/14001/bmp/writer.go File bmp/writer.go (right): https://codereview.appspot.com/13407045/diff/14001/bmp/writer.go#newcode1 bmp/writer.go:1: // Copyright 2011 The Go Authors. All rights reserved. ...
10 years, 8 months ago (2013-09-06 09:05:20 UTC) #2
chai2010
PTAL https://codereview.appspot.com/13407045/diff/14001/bmp/writer.go File bmp/writer.go (right): https://codereview.appspot.com/13407045/diff/14001/bmp/writer.go#newcode1 bmp/writer.go:1: // Copyright 2011 The Go Authors. All rights ...
10 years, 8 months ago (2013-09-06 10:21:16 UTC) #3
nigeltao
https://codereview.appspot.com/13407045/diff/14001/bmp/writer.go File bmp/writer.go (right): https://codereview.appspot.com/13407045/diff/14001/bmp/writer.go#newcode90 bmp/writer.go:90: head := &bmpHead{ On 2013/09/06 10:21:16, chai2010 wrote: > ...
10 years, 8 months ago (2013-09-09 01:44:32 UTC) #4
chai2010
https://codereview.appspot.com/13407045/diff/14001/bmp/writer.go File bmp/writer.go (right): https://codereview.appspot.com/13407045/diff/14001/bmp/writer.go#newcode90 bmp/writer.go:90: head := &bmpHead{ On 2013/09/09 01:44:33, nigeltao wrote: > ...
10 years, 8 months ago (2013-09-09 05:28:27 UTC) #5
nigeltao
https://codereview.appspot.com/13407045/diff/26001/bmp/writer.go File bmp/writer.go (right): https://codereview.appspot.com/13407045/diff/26001/bmp/writer.go#newcode36 bmp/writer.go:36: max := y*stride + stride This isn't right. Again, ...
10 years, 8 months ago (2013-09-09 07:18:25 UTC) #6
chai2010
PTAL https://codereview.appspot.com/13407045/diff/26001/bmp/writer.go File bmp/writer.go (right): https://codereview.appspot.com/13407045/diff/26001/bmp/writer.go#newcode36 bmp/writer.go:36: max := y*stride + stride On 2013/09/09 07:18:26, ...
10 years, 8 months ago (2013-09-09 07:42:41 UTC) #7
nigeltao
https://codereview.appspot.com/13407045/diff/31001/bmp/writer.go File bmp/writer.go (right): https://codereview.appspot.com/13407045/diff/31001/bmp/writer.go#newcode31 bmp/writer.go:31: func encodePaletted(w io.Writer, m image.Image, pix []uint8, stride, step ...
10 years, 8 months ago (2013-09-10 01:32:11 UTC) #8
chai2010
Hello nigeltao@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
10 years, 8 months ago (2013-09-10 06:34:21 UTC) #9
chai2010
https://codereview.appspot.com/13407045/diff/31001/bmp/writer.go File bmp/writer.go (right): https://codereview.appspot.com/13407045/diff/31001/bmp/writer.go#newcode31 bmp/writer.go:31: func encodePaletted(w io.Writer, m image.Image, pix []uint8, stride, step ...
10 years, 8 months ago (2013-09-10 06:34:35 UTC) #10
nigeltao
LGTM.
10 years, 8 months ago (2013-09-10 07:18:13 UTC) #11
nigeltao
10 years, 8 months ago (2013-09-10 07:19:45 UTC) #12
*** Submitted as
https://code.google.com/p/go/source/detail?r=cd62a2ebd552&repo=image ***

go.image/bmp: add Encode

R=nigeltao
CC=golang-dev
https://codereview.appspot.com/13407045

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