Sophie

Sophie

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

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_PPM(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_ppm2vips, im_vips2ppm - convert PPM/PGM/PBM images to and from VIPS
format 
<h2><a name='sect1' href='#toc1'>Synopsis</a></h2>
#include &lt;vips/vips.h&gt; 
<p> int im_ppm2vips( const char *filename,
IMAGE *out ) 
<p> int im_vips2ppm( IMAGE *in, const char *filename ) 
<p> 
<h2><a name='sect2' href='#toc2'>Description</a></h2>
<a href='im_ppm2vips.3.html'><b>im_ppm2vips(3)</a>

</b> reads the PPM/PGM/PBM image in filename, and writes the image out in VIPS
format. It can read 1, 8, 16 and 32 bit images, colour or monochrome, stored
in binary or in ASCII. One bit images become 8 bit VIPS images, with 0 and
255 for 0 and 1. 
<p> <a href='im_vips2ppm.3.html'><b>im_vips2ppm(3)</a>
 </b> writes the VIPS image to the named file
in PPM format. It can write 8, 16 or 32 bit integer images, colour or monochrome,
stored as binary or ASCII. Images of more than 8 bits can only be stored
in ASCII. 
<p> The storage format is indicated by a filename extension. 
<p>   im_vips2ppm(
im, "fred.ppm:ascii" )<br>
 
<p> will write to "fred.ppm" in ascii format. The default is binary. 
<p> 
<h2><a name='sect3' href='#toc3'>See Also</a></h2>
<a href='im_open.3.html'>im_open(3)</a>


<h2><a name='sect4' href='#toc4'>Copyright</a></h2>
Hey, you want this? You have it! <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>