File: nipguidese36.html

package info (click to toggle)
nip2 8.9.1-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,352 kB
  • sloc: ansic: 64,077; sh: 4,681; yacc: 1,133; makefile: 927; lex: 386; xml: 40; perl: 17
file content (79 lines) | stat: -rw-r--r-- 3,958 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  
  "http://www.w3.org/TR/html4/loose.dtd">  
<html > 
<head><title>Calling VIPS functions</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<meta name="generator" content="TeX4ht (http://www.tug.org/tex4ht/)"> 
<meta name="originator" content="TeX4ht (http://www.tug.org/tex4ht/)"> 
<!-- 3,html --> 
<meta name="src" content="nipguide.tex"> 
<link rel="stylesheet" type="text/css" href="nipguide.css"> 
</head><body 
>
  <!--l. 1558--><div class="crosslinks"><p class="noindent">[<a 
href="nipguidese35.html" >prev</a>] [<a 
href="nipguidese35.html#tailnipguidese35.html" >prev-tail</a>] [<a 
href="nipguidese35.html#tailnipguidese36.html">tail</a>] [<a 
href="nipguidech6.html#nipguideap1.html" >up</a>] </p></div>
  <h3 class="sectionHead"><span class="titlemark">6.15    </span> <a 
 id="x47-880006.15"></a>Calling VIPS functions</h3>
<!--l. 1559--><p class="noindent" ><a name="nip_label_sec:callvips"></a>
<!--l. 1561--><p class="indent" >  You can call any VIPS operation which has the following
properties:
    <ul class="itemize1">
    <li class="itemize">There must be at least 1 output argument. If there&#8217;s
    a single output argument, that becomes the value
    of the function. If there is more than one output,
    then the function returns a list with the outputs as
    members.
    </li>
    <li class="itemize">The output arguments must all be one of:
        <ul class="itemize2">
        <li class="itemize"><span class="obeylines-h"><span class="verb"><span 
class="pcrr7t-">IM_TYPE_DOUBLE</span></span></span>,
        </li>
        <li class="itemize"><span class="obeylines-h"><span class="verb"><span 
class="pcrr7t-">IM_TYPE_INT</span></span></span>,
        </li>
        <li class="itemize"><span class="obeylines-h"><span class="verb"><span 
class="pcrr7t-">IM_TYPE_COMPLEX</span></span></span>,
        </li>
        <li class="itemize"><span class="obeylines-h"><span class="verb"><span 
class="pcrr7t-">IM_TYPE_STRING</span></span></span>,
        </li>
        <li class="itemize"><span class="obeylines-h"><span class="verb"><span 
class="pcrr7t-">IM_TYPE_IMAGE</span></span></span>,
        </li>
        <li class="itemize"><span class="obeylines-h"><span class="verb"><span 
class="pcrr7t-">IM_TYPE_DOUBLEVEC</span></span></span>,
        </li>
        <li class="itemize"><span class="obeylines-h"><span class="verb"><span 
class="pcrr7t-">IM_TYPE_DMASK</span></span></span>,
        </li>
        <li class="itemize"><span class="obeylines-h"><span class="verb"><span 
class="pcrr7t-">IM_TYPE_IMASK</span></span></span></li></ul>
    </li>
    <li class="itemize">The input arguments must all be one of the types
    above, or <span class="obeylines-h"><span class="verb"><span 
class="pcrr7t-">IM_TYPE_DISPLAY</span></span></span>. If an argument is an
    input display, <span 
class="phvr7t-x-x-80">nip2 </span>passes in its current display
    structure, it does not take a display from your
    program.
    </li></ul>                                         <!--l. 1591--><p class="indent" >    When <span 
class="phvr7t-x-x-80">nip2 </span>starts up, it loads any VIPS plug ins it can find
  on its data search path. You can call functions from plug ins
  in just the same way. For information on writing plug ins,
  see the <span 
class="ptmri7t-">VIPS Manual</span>.
                                                                                       

                                                                                       
  <!--l. 81--><div class="crosslinks"><p class="noindent">[<a 
href="nipguidese35.html" >prev</a>] [<a 
href="nipguidese35.html#tailnipguidese35.html" >prev-tail</a>] [<a 
href="nipguidese36.html" >front</a>] [<a 
href="nipguidech6.html#nipguideap1.html" >up</a>] </p></div>
<!--l. 81--><p class="indent" >  <a 
 id="tailnipguidese36.html"></a>  
</body></html>