From c66b4f338eb2771776734b8f399b5c98ba8a94a0 Mon Sep 17 00:00:00 2001 From: JonDeen Date: Fri, 19 Jun 2015 23:16:36 +0200 Subject: [PATCH] correct an err --- libvips/colour/HSV2sRGB.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libvips/colour/HSV2sRGB.c b/libvips/colour/HSV2sRGB.c index dc566c02..c2b3507b 100644 --- a/libvips/colour/HSV2sRGB.c +++ b/libvips/colour/HSV2sRGB.c @@ -121,14 +121,14 @@ vips_HSV2sRGB_init( VipsHSV2sRGB *HSV2sRGB ) VipsColour *colour = VIPS_COLOUR( HSV2sRGB ); VipsColourCode *code = VIPS_COLOUR_CODE( HSV2sRGB ); - colour->interpretation = VIPS_INTERPRETATION_HSV; + colour->interpretation = VIPS_INTERPRETATION_sRGB; colour->format = VIPS_FORMAT_UCHAR; colour->bands = 3; colour->input_bands = 3; code->input_coding = VIPS_CODING_NONE; code->input_format = VIPS_FORMAT_UCHAR; - code->input_interpretation = VIPS_INTERPRETATION_sRGB; + code->input_interpretation = VIPS_INTERPRETATION_HSV; } /**