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

Issue 4515045: code review 4515045: image/gif: implement transparency. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years ago by r
Modified:
14 years ago
Reviewers:
peterGo
CC:
nigeltao, r2, golang-dev
Visibility:
Public.

Description

image/gif: implement transparency. At least, as I understand it. The spec is unclear about what happens with a local color map.

Patch Set 1 #

Patch Set 2 : diff -r f32c6f103820 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -9 lines) Patch
M src/pkg/image/gif/reader.go View 1 5 chunks +15 lines, -9 lines 0 comments Download

Messages

Total messages: 6
r
Hello nigeltao (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years ago (2011-05-08 16:49:27 UTC) #1
nigeltao
lgtm. maybe make transparentIndex an argument to func setTransparency instead of a field of struct ...
14 years ago (2011-05-08 23:10:11 UTC) #2
r2
On May 8, 2011, at 4:10 PM, nigeltao@golang.org wrote: > lgtm. > > maybe make ...
14 years ago (2011-05-09 00:16:47 UTC) #3
r2
i mean, if you use it for the local color map too, about which i ...
14 years ago (2011-05-09 00:25:06 UTC) #4
r
*** Submitted as http://code.google.com/p/go/source/detail?r=d454f1d43ab0 *** image/gif: implement transparency. At least, as I understand it. The ...
14 years ago (2011-05-09 00:26:20 UTC) #5
peterGo
14 years ago (2011-05-09 11:34:33 UTC) #6
Rob,

linux, 386 and amd64, hg id d454f1d43ab0 tip.
$ ./all.bash

test image
TEST FAIL image
make[1]: Entering directory `/home/peter/go/src/pkg/image'
gotest -test.short -test.timeout=120
rm -f _test/image.a
8g  -o _gotest_.8 color.go format.go geom.go image.go names.go  
rm -f _test/image.a
gopack grc _test/image.a _gotest_.8 
--- FAIL: image_test.TestDecode (0.13 seconds)
	testdata/video-001.gif: at (117, 43), want {1 0 0 255} got {0 0 0 0}
FAIL
gotest: "./8.out -test.short=true -test.timeout=120" failed: exit status 1
make[1]: *** [testshort] Error 2
make[1]: Leaving directory `/home/peter/go/src/pkg/image'
make: *** [image.testshort] Error 1

Peter

On 2011/05/09 00:26:20, r wrote:
> *** Submitted as http://code.google.com/p/go/source/detail?r=d454f1d43ab0 ***
> 
> image/gif: implement transparency.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b