Documentation
¶
Index ¶
- func CentimeterToInch(centi float64) float64
- func CentimeterToPixel(dpi int, centi float64) int
- func CreateJPEG(outputFilename string, canvas image.Image)
- func InchToPixel(dpi int, maxWidth float64) int
- func LoadJPEG(filePath string) image.Image
- func LoadPNG(filePath string) image.Image
- func Resize(source image.Image, width uint, height uint) image.Image
- func ResizeA(source image.Image, width uint, height uint, a resize.InterpolationFunction) image.Image
- func ResizeToInch(source image.Image, maxWidth float64, maxHeight float64, dpi int) image.Image
- func ResizeWithRatio(source image.Image, maxWidthPx uint, maxHeightPx uint) image.Image
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CentimeterToInch ¶
func CentimeterToPixel ¶
func CreateJPEG ¶
func InchToPixel ¶
func ResizeToInch ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.