Documentation
¶
Overview ¶
Package convert provides image format conversion utilities.
Index ¶
- func Convert(r io.Reader, w io.Writer, format Format, opts Options) error
- func ConvertFile(inputPath, outputPath string, opts Options) error
- func Encode(w io.Writer, img image.Image, format Format, opts Options) error
- func ToBMP(img image.Image, w io.Writer) error
- func ToGIF(img image.Image, w io.Writer) error
- func ToJPEG(img image.Image, w io.Writer, quality int) error
- func ToPNG(img image.Image, w io.Writer) error
- func ToTIFF(img image.Image, w io.Writer) error
- type Format
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertFile ¶
ConvertFile converts an image file to a different format.
Types ¶
Click to show internal directories.
Click to hide internal directories.