Versions in this module Expand all Collapse all v0 v0.0.2 Apr 15, 2024 v0.0.1 Apr 15, 2024 Changes in this version + func ScaleJpegBufr(inputBufr []byte, sizeX int, sizeY int) ([]byte, error) + func ScaleJpegFile(inputPath string, outputPath string, sizeX int, sizeY int) error + type Image struct + Img gocv.Mat + func NewCVImage(imagePath string) (Image, error) + func NewImageFromBytes(bytebuf []byte) (Image, error) + func (img Image) BlueMask(imagePath string) error + func (img Image) Close() + func (img Image) GetMeanBrightness() (float64, error) + func (img Image) PutText(text string)