Commit 8ae44af2 authored by Nigel Tao's avatar Nigel Tao
Browse files

image/gif: allow encoding a single-frame image whose top-left corner

isn't (0, 0).

Also fix a s/b.Min.X/b.Max.X/ typo in bounds checking.

Fixes #10676

Change-Id: Ie5ff7ec20ca30367a8e65d32061959a2d8e089e9
Reviewed-on: https://go-review.googlesource.com/9712


Reviewed-by: default avatarRob Pike <r@golang.org>
parent 96dad7ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment