Documentation
¶
Index ¶
- func CheckImageFormat(format string) error
- func ContentTypeFormat(contentType string) (string, error)
- func ConvertFormat(input *InputImage, output *OutputImage) error
- func DecodeFactory(format string) (func(io.Reader) (image.Image, error), error)
- func EncodeFactory(format string) (func(io.Writer, image.Image) error, error)
- func FileFormat(path string) (string, error)
- type InputImage
- type OutputImage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckImageFormat ¶
func ContentTypeFormat ¶
func ConvertFormat ¶
func ConvertFormat(input *InputImage, output *OutputImage) error
func DecodeFactory ¶
func FileFormat ¶
Types ¶
type InputImage ¶
func HttpInputImageFile ¶
func HttpInputImageFile(url string) (*InputImage, error)
func LocalInputImageFile ¶
func LocalInputImageFile(path string) (*InputImage, error)
type OutputImage ¶
func LocalOutputImageFile ¶
func LocalOutputImageFile(name, dir, format string) (*OutputImage, error)
Click to show internal directories.
Click to hide internal directories.