png

package
v0.0.0-...-77ed03d Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2017 License: MIT Imports: 5 Imported by: 5

Documentation

Overview

Package png provides a PNG imageserver/image.Encoder implementation.

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 is a PNG imageserver/image.Encoder implementation.

func (*Encoder) Change

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

Change implements imageserver/image.Encoder.

func (*Encoder) Encode

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

Encode implements imageserver/image.Encoder.

Jump to

Keyboard shortcuts

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