correct an err
This commit is contained in:
parent
4c3fc35e00
commit
c66b4f338e
@ -121,14 +121,14 @@ vips_HSV2sRGB_init( VipsHSV2sRGB *HSV2sRGB )
|
|||||||
VipsColour *colour = VIPS_COLOUR( HSV2sRGB );
|
VipsColour *colour = VIPS_COLOUR( HSV2sRGB );
|
||||||
VipsColourCode *code = VIPS_COLOUR_CODE( HSV2sRGB );
|
VipsColourCode *code = VIPS_COLOUR_CODE( HSV2sRGB );
|
||||||
|
|
||||||
colour->interpretation = VIPS_INTERPRETATION_HSV;
|
colour->interpretation = VIPS_INTERPRETATION_sRGB;
|
||||||
colour->format = VIPS_FORMAT_UCHAR;
|
colour->format = VIPS_FORMAT_UCHAR;
|
||||||
colour->bands = 3;
|
colour->bands = 3;
|
||||||
colour->input_bands = 3;
|
colour->input_bands = 3;
|
||||||
|
|
||||||
code->input_coding = VIPS_CODING_NONE;
|
code->input_coding = VIPS_CODING_NONE;
|
||||||
code->input_format = VIPS_FORMAT_UCHAR;
|
code->input_format = VIPS_FORMAT_UCHAR;
|
||||||
code->input_interpretation = VIPS_INTERPRETATION_sRGB;
|
code->input_interpretation = VIPS_INTERPRETATION_HSV;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user