Documentation ¶ Index ¶ func CropImage(img image.Image, crop image.Rectangle) (image.Image, error) func ReadImage(reader io.Reader) (image.Image, error) func ReadImageFile(filename string) (image.Image, error) func ResizeImage(src image.Image, w, h int) image.Image func WritePNGImage(img image.Image, name string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CropImage ¶ func CropImage(img image.Image, crop image.Rectangle) (image.Image, error) CropImage takes an image and crops it to the specified rectangle. func ReadImage ¶ func ReadImage(reader io.Reader) (image.Image, error) func ReadImageFile ¶ func ReadImageFile(filename string) (image.Image, error) func ResizeImage ¶ func ResizeImage(src image.Image, w, h int) image.Image func WritePNGImage ¶ func WritePNGImage(img image.Image, name string) error WritePNGImage - writes an Image back to the disk. Types ¶ This section is empty. Source Files ¶ View all Source files crop.go load.go resize.go write.go Click to show internal directories. Click to hide internal directories.