1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2024-11-24 08:12:38 +02:00
This commit is contained in:
DarthSim 2019-06-10 20:23:05 +06:00
parent a08a5d41d9
commit 75aae2f569

View File

@ -545,7 +545,7 @@ func (img *vipsImage) RgbColourspace() error {
return img.Colorspace(C.VIPS_INTERPRETATION_sRGB)
}
func (img *vipsImage) Colourspace(colorspace C.VipsInterpretation) error {
func (img *vipsImage) Colorspace(colorspace C.VipsInterpretation) error {
if C.vips_image_guess_interpretation(img.VipsImage) != colorspace {
var tmp *C.VipsImage