add some docs

This commit is contained in:
John Cupitt 2015-06-22 09:42:53 +01:00
parent bdc96844bd
commit a812e90332
3 changed files with 12 additions and 1 deletions

View File

@ -132,6 +132,10 @@ vips_HSV2sRGB_init( VipsHSV2sRGB *HSV2sRGB )
*
* Convert HSV to sRGB.
*
* HSV is a crude polar coordinate system for RGB images. It is provided for
* compatibility with other image processing systems. See vips_Lab2LCh() for a
* much better colour space.
*
* See also: vips_sRGB2HSV().
*
* Returns: 0 on success, -1 on error.

View File

@ -128,6 +128,9 @@
* #VIPS_INTERPRETATION_RGB16 is the same, but using three 16-bit values for
* RGB.
*
* #VIPS_INTERPRETATION_HSV is sRGB, but in polar coordinates.
* #VIPS_INTERPRETATION_LCH is much better, only use HSV if you have to.
*
* * #VIPS_INTERPRETATION_B_W -- a monochrome image, roughly G from sRGB.
* The grey value is
* calculated in #VIPS_INTERPRETATION_scRGB space with the usual 0.2, 0.7, 0.1

View File

@ -150,7 +150,11 @@ vips_sRGB2HSV_init( VipssRGB2HSV *sRGB2HSV )
*
* Convert to HSV.
*
* See also: vips_HSV2sRGB().
* HSV is a crude polar coordinate system for RGB images. It is provided for
* compatibility with other image processing systems. See vips_Lab2LCh() for a
* much better colour space.
*
* See also: vips_HSV2sRGB(), vips_Lab2LCh().
*
* Returns: 0 on success, -1 on error.
*/