Sophie

Sophie

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

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>EDVIPS(1) manual page</title>
</head>
<body bgcolor='white'>
<a href='#toc'>Table of Contents</a><p>

<h2><a name='sect0' href='#toc0'>Name</a></h2>
edvips - edit header of a vips image file 
<h2><a name='sect1' href='#toc1'>Synopsis</a></h2>
<b>edvips [OPTION...] vipsfile</b>

<h2><a name='sect2' href='#toc2'>Description</a></h2>
<b>edvips </b> alters a VIPS image file&rsquo;s header. This is useful for
setting the resolution,  for example. 
<p> The options are: 
<p>   -x, --xsize=N  
    set Xsize to N<br>
   -y, --ysize=N       set Ysize to N<br>
   -b, --bands=N       set Bands to N<br>
   -f, --format=F      set BandFmt to F (eg. IM_BANDFMT_UCHAR)<br>
   -t, --type=T        set Type to T (eg. IM_TYPE_XYZ)<br>
   -c, --coding=C      set Coding to C (eg. IM_CODING_LABQ)<br>
   -X, --xres=R        set Xres to R pixels/mm<br>
   -Y, --yres=R        set Yres to R pixels/mm<br>
   -u, --xoffset=N     set Xoffset to N<br>
   -v, --yoffset=N     set Yoffset to N<br>
   -e, --setext        replace extension block with stdin<br>
 
<p> Be very careful when changing Xsize, Ysize, BandFmt or Bands. edvips does
no checking! 
<p> 
<h2><a name='sect3' href='#toc3'>Examples</a></h2>
To set the Xsize to 512 and Bands to 6: 
<p>   edvips
--xsize=512 --bands=6 fred.v<br>
 
<p> or 
<p>   edvips -x 512 -b 6 fred.v<br>
 
<p> Extract the XML metadata from an image with <a href='header.1.html'><b>header(1)</a>
,</b> edit it, and reattach
with  <a href='edvips.1.html'><b>edvips(1)</a>
.</b> 
<p>   header -f getext fred.v | sed s/banana/pineapple/ | edvips
-e fred.v<br>
 
<p> 
<h2><a name='sect4' href='#toc4'>Return Value</a></h2>
returns 0 on success and non-zero on error. 
<h2><a name='sect5' href='#toc5'>See Also</a></h2>
<a href='header.1.html'>header(1)</a>


<h2><a name='sect6' href='#toc6'>Copyright</a></h2>
K. Martinez 1993 <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'>Examples</a></li>
<li><a name='toc4' href='#sect4'>Return Value</a></li>
<li><a name='toc5' href='#sect5'>See Also</a></li>
<li><a name='toc6' href='#sect6'>Copyright</a></li>
</ul>
</body>
</html>