Skip to content

image: broken example #4300

Closed
Closed
@gopherbot

Description

@gopherbot

by darkgray:

The top example at http://golang.org/pkg/image/#example_ gives the error:
2012/10/29 05:30:19 image: unknown format
exit status 1

It can be fixed by adding the import of:
_ "image/jpeg"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions