Documentation ¶
Index ¶
- func AddFilter(img image.Image, outputFileName, outputDirName, filter string, ...)
- func GreyOut(img image.Image, greyStrength uint8, outputFileName, outputDirName string)
- func GreyOutOld(img image.Image, greyStrength uint8, outputFileName, outputDirName string)
- func IsolateColor(img image.Image, inputColor color.RGBA, outputFileName, outputDirName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFilter ¶
AddFilter adjusts different filters like brightness, contrast, saturation for the given image.
Valid filters are :
"brightness", "contrast", "saturation"
func GreyOut ¶
GreyOut will grey out the image as per the greyStrength and output to the outputFileName in the desired outputDirName folder
func GreyOutOld ¶
GreyOutOld will grey out the image as per the greyStrength and output to the outputFileName in the desired outputDirName folder
func IsolateColor ¶
func IsolateColor(img image.Image, inputColor color.RGBA, outputFileName, outputDirName string) error
IsolateColor will grey out parts of the image except the input color and output to the outputFileName in the desired outputDirName folder
The input color should be a hexadecimal number.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.