func ColorspaceLinearToSRGB() Filter {
	return &colorchanFilter{
		fn: func(x float32) float32 {
			if x <= 0.0031308 {
				return x * 12.92
			}
			return float32(1.055*math.Pow(float64(x), 1/2.4) - 0.055)
		},
		lut: true,
	}
}
// ColorspaceLinearToSRGB creates a filter that converts the colors of an image from linear RGB to sRGB.
ColorspaceLinearToSRGB creates a filter that converts the colors of an image from linear RGB to sRGB.
// ColorspaceLinearToSRGB creates a filter that converts the colors of an image from linear RGB to sRGB .
func ColorspaceLinearToSRGB() Filter {
	return &colorchanFilter{
		fn: func(x float32) float32 {
			if x <= 0.0031308 {
				return x * 12.92
			}
			return float32(1.055*math.Pow(float64(x), 1/2.4) - 0.055)
		},
		lut: true,
	}
}
func ColorspaceLinearToSRGB ( ) Filter { return & colorchanFilter { fn : func ( x float32 ) float32 { if x <= 0.0031308 { return x * 12.92 } return float32 ( 1.055 * math . Pow ( float64 ( x ) , 1 / 2.4 ) - 0.055 ) } , lut : true , } }
ColorspaceLinearToSRGB creates a filter that converts the colors of an image from linear RGB to sRGB.
ColorspaceLinearToSRGB creates a filter that converts the colors of an image from linear RGB to sRGB .