update guess_interp for HSV

remove the assert as well, safer
This commit is contained in:
John Cupitt 2015-06-09 12:42:16 +01:00
parent a42232a9a1
commit c3ff482ed7
1 changed files with 1 additions and 1 deletions

View File

@ -480,6 +480,7 @@ vips_image_guess_interpretation( const VipsImage *image )
case VIPS_INTERPRETATION_CMC:
case VIPS_INTERPRETATION_LCH:
case VIPS_INTERPRETATION_sRGB:
case VIPS_INTERPRETATION_HSV:
case VIPS_INTERPRETATION_scRGB:
case VIPS_INTERPRETATION_YXY:
if( image->Bands < 3 )
@ -520,7 +521,6 @@ vips_image_guess_interpretation( const VipsImage *image )
break;
default:
g_assert( 0 );
sane = FALSE;
break;
}