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

Issue 6479044: code review 6479044: tiff: new Options parameter for Encode. (Closed)

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

Description

tiff: new Options parameter for Encode. No functional change at the moment but it will allow choosing the compression type. This is an incompatible, user-visible change. To get the old behavior, callers of tiff.Encode need to add ", nil" as the last parameter.

Patch Set 1 #

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

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

Total comments: 8

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -5 lines) Patch
M tiff/consts.go View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M tiff/writer.go View 1 2 3 4 1 chunk +26 lines, -2 lines 0 comments Download
M tiff/writer_test.go View 1 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 5
bsiegert
Hello nigeltao@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.image
11 years, 9 months ago (2012-08-22 11:26:58 UTC) #1
nigeltao
http://codereview.appspot.com/6479044/diff/4001/tiff/consts.go File tiff/consts.go (right): http://codereview.appspot.com/6479044/diff/4001/tiff/consts.go#newcode113 tiff/consts.go:113: type CompressionType int What other compression types will you ...
11 years, 9 months ago (2012-08-23 00:54:51 UTC) #2
bsiegert
Thanks for the review. All done, PTAL. http://codereview.appspot.com/6479044/diff/4001/tiff/consts.go File tiff/consts.go (right): http://codereview.appspot.com/6479044/diff/4001/tiff/consts.go#newcode113 tiff/consts.go:113: type CompressionType ...
11 years, 9 months ago (2012-08-23 09:35:32 UTC) #3
nigeltao
LGTM.
11 years, 9 months ago (2012-08-23 10:14:50 UTC) #4
nigeltao
11 years, 9 months ago (2012-08-23 10:17:21 UTC) #5
*** Submitted as
http://code.google.com/p/go/source/detail?r=097023221894&repo=image ***

tiff: new Options parameter for Encode.

No functional change at the moment but it will allow choosing
the compression type.

This is an incompatible, user-visible change. To get the old
behavior, callers of tiff.Encode need to add ", nil" as the
last parameter.

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

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