Skip to content

image/png: support custom zlib compression levels #8499

@LukeMauldin

Description

@LukeMauldin
In Go 1.3 there is no way to specify the zlib encoding level when writing a png image.

Request a new function, png.EncodeLevel(w io.Writer, m image.Image, level int) be added.
 The level could then be passed to zlib.NewWriter in image/png/writer.go:259

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions