summaryrefslogtreecommitdiff
path: root/src/pkg/image/format.go
Commit message (Collapse)AuthorAgeFilesLines
* build: move package sources from src/pkg to srcRuss Cox2014-09-081-100/+0
| | | | | | Preparation was in CL 134570043. This CL contains only the effect of 'hg mv src/pkg/* src'. For more about the move, see golang.org/s/go14nopkg.
* all: be more idiomatic when documenting boolean return values.Rob Pike2013-07-231-1/+1
| | | | | | | | | | | | | | | | Phrases like "returns whether or not the image is opaque" could be describing what the function does (it always returns, regardless of the opacity) or what it returns (a boolean indicating the opacity). Even when the "or not" is missing, the phrasing is bizarre. Go with "reports whether", which is still clunky but at least makes it clear we're talking about the return value. These were edited by hand. A few were cleaned up in other ways. R=golang-dev, dsymonds CC=golang-dev https://codereview.appspot.com/11699043
* image: minor update of comments.Robin Eklind2013-05-141-2/+2
| | | | | | | | R=golang-dev, iant, bradfitz, nigeltao CC=golang-dev https://codereview.appspot.com/9408044 Committer: Nigel Tao <nigeltao@golang.org>
* cmd/gofmt, bufio, image: Consistency and error handling.Robin Eklind2013-01-071-1/+1
| | | | | | | | | | | | cmd/gofmt: Add error handling for ioutil.WriteFile. bufio: Consistency, rename e to err. image: Consistency, fix comment for asReader. R=golang-dev, dave, minux.ma, adg CC=golang-dev https://codereview.appspot.com/7029056 Committer: Andrew Gerrand <adg@golang.org>
* image: add package docs, rename s/UnknownFormatError/ErrFormat/ andNigel Tao2012-02-061-4/+4
| | | | | | | | | | rewrite the doc comment for Repeated. Fixes issue 2858. R=r, rsc CC=golang-dev http://codereview.appspot.com/5626050
* src/pkg/[a-m]*: gofix -r error -force=errorRuss Cox2011-11-011-8/+8
| | | | | | R=golang-dev, iant CC=golang-dev http://codereview.appspot.com/5322051
* image: allow "?" wildcards when registering image formats.Nigel Tao2011-04-141-4/+18
| | | | | | R=r, nigeltao_gnome CC=golang-dev http://codereview.appspot.com/4404041
* use appendRuss Cox2010-10-271-9/+1
| | | | | | R=gri, r, r2 CC=golang-dev http://codereview.appspot.com/2743042
* image: introduce Config type and DecodeConfig function, to decode anNigel Tao2010-09-031-14/+35
| | | | | | | | | | | image's color model and dimensions without allocating and decoding its actual pixels. Fixes issue 695. R=r CC=golang-dev http://codereview.appspot.com/2151042
* image: introduce Decode and RegisterFormat.Nigel Tao2010-08-091-0/+73
R=r, rsc CC=golang-dev http://codereview.appspot.com/1849054