jpegx

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 4 Imported by: 11

Documentation

Overview

Package jpegx Created by xuzhuoxi on 2019-04-27. @author xuzhuoxi

Index

Constants

This section is empty.

Variables

View Source
var DefaultJPEGOptions = &jpeg.Options{Quality: 75}

Functions

func DecodeJPEG

func DecodeJPEG(r io.Reader) (image.Image, error)

func EncodeJPEG

func EncodeJPEG(w io.Writer, m image.Image, options interface{}) error

func NewJpegOptions

func NewJpegOptions(quality int) *jpeg.Options

NewJpegOptions 品质设置

Types

This section is empty.

Jump to

Keyboard shortcuts

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