]> Cypherpunks repositories - gostls13.git/commit
image/gif: expose disposal, bg index and Config
authorColin Kennedy <moshen.colin@gmail.com>
Wed, 11 Feb 2015 22:58:55 +0000 (16:58 -0600)
committerNigel Tao <nigeltao@golang.org>
Mon, 13 Apr 2015 04:35:04 +0000 (04:35 +0000)
commite6092d64a7a196e6e228a36eb3b243b379aa2520
treed7e97b371a7a9a3fd5095e42f17caee8635c9e6e
parent926616da3f3781f5f71dacac429c6957dec83a65
image/gif: expose disposal, bg index and Config

The background index in the global palette (located in the image.Config)
is necessary for interpreting GIF frames properly

Frame disposal information is necessary for interpreting GIF frames in
the context of a sequence (or animation)

Removes decoder.flags as it can be a local variable

Change-Id: I6790a7febf6ba0859175c834c807bc6413e6b194
Reviewed-on: https://go-review.googlesource.com/4620
Reviewed-by: Nigel Tao <nigeltao@golang.org>
src/image/gif/reader.go