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

Issue 137830043: code review 137830043: image/png: do not apply filters if level is NoCompression (Closed)

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

Description

image/png: do not apply filters if level is NoCompression PNG filters are applied to get better compression ratio. It does not make sense to apply them if we are not going to compress.

Patch Set 1 #

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

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -7 lines) Patch
M src/pkg/image/png/writer.go View 1 1 chunk +4 lines, -1 line 0 comments Download
M src/pkg/image/png/writer_test.go View 1 2 3 1 chunk +9 lines, -6 lines 0 comments Download

Messages

Total messages: 3
ruiu
Hello nigeltao@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
10 years, 8 months ago (2014-08-28 15:35:32 UTC) #1
nigeltao
LGTM.
10 years, 8 months ago (2014-08-29 07:15:12 UTC) #2
nigeltao
10 years, 8 months ago (2014-08-29 07:18:01 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=c37fc54f7e20 ***

image/png: do not apply filters if level is NoCompression

PNG filters are applied to get better compression ratio.
It does not make sense to apply them if we are not going
to compress.

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

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