png

package
v0.0.0-...-ac00eea Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package png is encode and decode to image.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Png

type Png struct{}

Png implements convert.Converter

func (Png) Decode

func (Png) Decode(r io.Reader) (image.Image, error)

Decode returns image and error

func (Png) Encode

func (Png) Encode(w io.Writer, m image.Image) error

Encode return error

Jump to

Keyboard shortcuts

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