jpeg

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeRandom

func EncodeRandom(w io.Writer, rectangle image.Rectangle, o *Options) error

EncodeRandom writes the random image with the rectangle to w in JPEG 4:2:0 baseline format with the given options. Default parameters are used if a nil *Options is passed.

func EncodeSolid

func EncodeSolid(w io.Writer, rectangle image.Rectangle, c color.Color, o *Options) error

EncodeSolid writes the solid colored image with the rectangle and the color c to w in JPEG 4:2:0 baseline format with the given options. Default parameters are used if a nil *Options is passed.

Types

type Options

type Options = jpeg.Options

Jump to

Keyboard shortcuts

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