encoder

package
Version: v0.0.0-...-cbc7d21 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2018 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package encoder.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encoder

type Encoder struct {
	// contains filtered or unexported fields
}

Encoder struct.

func New

func New(w io.Writer) *Encoder

New returns a new Encoder.

func (Encoder) Encode

func (e Encoder) Encode(img image.Image) error

Encode encodes image to JPEG.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL