Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > c109337651527e96d7bb9adc83c5b18a > files > 564

libvips-devel-7.18.2-1mdv2010.0.i586.rpm

<!-- manual page source format generated by PolyglotMan v3.2, -->
<!-- available at http://polyglotman.sourceforge.net/ -->

<html>
<head>
<title>IM_VIPS2MASK(3) manual page</title>
</head>
<body bgcolor='white'>
<a href='#toc'>Table of Contents</a><p>

<h2><a name='sect0' href='#toc0'>Name</a></h2>
im_vips2mask, im_mask2vips - convert between masks and images 
<h2><a name='sect1' href='#toc1'>Synopsis</a></h2>
<b>#include
&lt;vips/vips.h&gt;</b> 
<p> DOUBLEMASK *im_vips2mask( IMAGE *in, char *out_name ) 
<p> int
im_mask2vips( DOUBLEMASK *in, IMAGE *out ) 
<h2><a name='sect2' href='#toc2'>Description</a></h2>
<a href='im_vips2mask.3.html'><b>im_vips2mask(3)</b></a>
 returns
a DOUBLEMASK of name out_name containing the data from IMAGE in. Images
must have either one band, a width of 1, or a height of 1.  Returns NULL
on error, and a new mask on success. The scale field is set to 1.0 and the
offset to 0.0. 
<p> <a href='im_mask2vips.3.html'><b>im_mask2vips(3)</b></a>
 writes the doubles held in mask in to the
IMAGE out. It creates a one-band image of the same size as in. It returns
0 on success and -1 on error. The scale and offset fields are ignored. 
<p> 
<h2><a name='sect3' href='#toc3'>See
Also</a></h2>
<a href='im_openin.3.html'>im_openin(3)</a>
, <a href='im_openout.3.html'>im_openout(3)</a>
, <a href='im_setbuf.3.html'>im_setbuf(3)</a>
, <a href='edvips.3.html'>edvips(3)</a>
, <a href='im_create_dmask.3.html'>im_create_dmask(3)</a>
.

<h2><a name='sect4' href='#toc4'>Copyright</a></h2>
<br>
National Gallery, 1994 <p>

<hr><p>
<a name='toc'><b>Table of Contents</b></a><p>
<ul>
<li><a name='toc0' href='#sect0'>Name</a></li>
<li><a name='toc1' href='#sect1'>Synopsis</a></li>
<li><a name='toc2' href='#sect2'>Description</a></li>
<li><a name='toc3' href='#sect3'>See Also</a></li>
<li><a name='toc4' href='#sect4'>Copyright</a></li>
</ul>
</body>
</html>