tiny doc fixes
This commit is contained in:
parent
dadfc6f2b5
commit
6386de9b84
@ -144,7 +144,7 @@ VImage fred = VImage::convert2disc( "im_jpeg2vips",
|
||||
"file.jpg", "temp.v" );
|
||||
\end{verbatim}
|
||||
|
||||
/noindent
|
||||
\noindent
|
||||
Will decompress to the file \verb+temp.v+, then open that and return a
|
||||
reference to it. You will need to delete the file once you are finished with
|
||||
it.
|
||||
|
@ -31,10 +31,18 @@ the position of the transformed top-left-hand corner of the input image.
|
||||
Function im_affine resamples the transformed image using bilinear
|
||||
interpolation.
|
||||
|
||||
You can use
|
||||
.B im_affine(3)
|
||||
to resize an image with something like:
|
||||
|
||||
scale xfac yfac im
|
||||
= im_affine im xfac 0 0 yfac 0 0 0 0
|
||||
(im.width * xfac) (im.height * yfac);
|
||||
|
||||
.SH RETURN VALUE
|
||||
The functions return 0 on success and -1 on error.
|
||||
.SH BUGS
|
||||
As with most resamplers, im_affine(3) performs poorly at the edges of
|
||||
images.
|
||||
.SH SEE\ ALSO
|
||||
.SH SEE ALSO
|
||||
im_similarity(3)
|
||||
|
Loading…
Reference in New Issue
Block a user