Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 7faa4cd12598db7d59564e3dc9a0913c > files > 252

vips-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_GREY(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_grey, im_fgrey, im_make_xy - creates a grey scale  
<h2><a name='sect1' href='#toc1'>Synopsis</a></h2>
<b>#include
&lt;vips/vips.h&gt;</b> 
<p> <b>int im_grey( image, xsize, ysize )</b> <br>
<b>IMAGE *image;</b> <br>
<b>int xsize, ysize;</b> 
<p> <b>int im_fgrey( image, xsize, ysize )</b> <br>
<b>IMAGE *image;</b> <br>
<b>int xsize, ysize;</b> 
<p> <b>int im_make_xy( image, xsize, ysize )</b> <br>
<b>IMAGE *image;</b> <br>
<b>int xsize, ysize;</b> 
<p> 
<h2><a name='sect2' href='#toc2'>Description</a></h2>
<a href='im_grey.3.html'><b>im_grey(3)</a>
 </b> creates a one-band FMTUCHAR grey
scale image of sizes xsize by ysize.  The intensity varies from 0 (left)
to 255 (right). 
<p> <a href='im_fgrey.3.html'><b>im_fgrey(3)</a>
 </b> works as  <a href='im_grey.3.html'><b>im_grey(3)</a>
, </b> except that the output
image is FMTFLOAT, allowing pixel values from 0 (left) to 1.0 (right). 
<p> <a href='im_make_xy.3.html'><b>im_make_xy(3)</a>

</b> makes a two-band FMTUINT image where each pixel in band 0 has a value equal
to the x coordinate, and each pixel in band 1 has a value equal to the
y coordinate. 
<p> 
<h2><a name='sect3' href='#toc3'>Return Value</a></h2>
The function returns 0 on success and -1 on error.

<h2><a name='sect4' href='#toc4'>See Also</a></h2>
<a href='im_black.3.html'>im_black(3)</a>
 
<h2><a name='sect5' href='#toc5'>Copyright</a></h2>
Birkbeck College and the National Gallery,
1995  <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'>Return Value</a></li>
<li><a name='toc4' href='#sect4'>See Also</a></li>
<li><a name='toc5' href='#sect5'>Copyright</a></li>
</ul>
</body>
</html>