Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CropLocalImage ¶
func CropLocalImage(input CropLocalImageInput) (image.Image, error)
func CropS3Image ¶
func CropS3Image(input CropS3ImageInput) (image.Image, error)
Types ¶
type BoundingBox ¶
type CropLocalImageInput ¶
type CropLocalImageInput struct {
ImagePath string
Box BoundingBox
}
type CropS3ImageInput ¶
type CropS3ImageInput struct {
Body io.ReadCloser
Box BoundingBox
}
Click to show internal directories.
Click to hide internal directories.