png

package
v0.0.0-...-60e87b8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package png provides a PNG Encoder.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encoder

type Encoder struct {
	CompressionLevel png.CompressionLevel
}

Encoder encodes an Image to PNG.

func (*Encoder) Change

func (enc *Encoder) Change(params imageserver.Params) bool

Change implements Encoder.

func (*Encoder) Encode

func (enc *Encoder) Encode(w io.Writer, nim image.Image, params imageserver.Params) error

Encode implements Encoder.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL