diff --git a/man/VipsFormat.3 b/man/VipsFormat.3 index 593ce48d..85306b4b 100644 --- a/man/VipsFormat.3 +++ b/man/VipsFormat.3 @@ -164,9 +164,16 @@ and .B im_raw2vips(3) for RAW file read. +You can list the supported formats with + + $ vips --list classes + +look for subclasses of +.B VipsFormat. + .SH RETURN VALUE The functions return 0 success and -1 on error. .SH SEE ALSO -im_tiff2vips(3), im_open(3). +im_tiff2vips(3), im_open(3), vips(1). .SH AUTHOR Jesper Friis and John Cupitt diff --git a/man/VipsInterpolate.3 b/man/VipsInterpolate.3 index 7b52d60f..0dae44c7 100644 --- a/man/VipsInterpolate.3 +++ b/man/VipsInterpolate.3 @@ -38,19 +38,39 @@ int vips_interpolate_get_window_size( VipsInterpolate *interpolate ); is the base class for VIPS interpolators. It provides a simple framework that subclasses use to implement the various interpolators that VIPS ships with. You can add new interpolators by subclassing -.B VipsInterpolate. +.B VipsInterpolated +and implementing an +.B interpolate +method. You can use any interpolator in your code via the methods of .B VipsInterpolate. .B vips_interpolate(3) +looks up the interpolate method for the object and calls it for you. +.B vips_interpolate_get_method(3) +just does the lookup and returns a pointer to the interpolate function. You +can use this to take the lookup out of an inner loop. + +.B vips_interpolate_get_window_size(3) +either calls +.B get_window_size() +or if it is NULL, returns +.B window_size. .SH SUPPORTED INTERPOLATORS +You can list the supported interpolators with + + $ vips --list classes + +look for subclasses of +.B VipsInterpolate. + .SH RETURN VALUE Unless otherwise noted, functions return 0 success and -1 on error. .SH SEE ALSO -VipsFormat(3), VipsInterpolate(3), -vips_type_find(3). +VipsObject(3), VipsInterpolate(3), +vips_type_find(3), vips(1). .SH AUTHOR John Cupitt