<!-- manual page source format generated by PolyglotMan v3.2, --> <!-- available at http://polyglotman.sourceforge.net/ --> <html> <head> <title>IM_REMOSAIC(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_remosaic - rebuild a mosaic, substituting filenames <h2><a name='sect1' href='#toc1'>Synopsis</a></h2> #include <vips/vips.h> <p> int im_remosaic( IMAGE *in, IMAGE *out, <br> const char *old_str, const char *new_str )<br> <p> <h2><a name='sect2' href='#toc2'>Description</a></h2> <a href='im_remosaic.3.html'><b>im_remosaic(3)</b></a> works rather as im_global_balance(). It takes apart the mosaiced image in and rebuilds it, substituting images. <p> Unlike <a href='im_global_balance.3.html'><b>im_global_balance(3)</b></a> images are substituted based on their filenames. The rightmost occurence of the string old_str is swapped for new_str, that file is opened, and that image substituted for the old image. <p> It’s convenient for multispectral images. You can mosaic one band, then use that mosaic as a template for mosaicing the others automatically. <p> <h2><a name='sect3' href='#toc3'>Return Value</a></h2> Functions return 0 on success and -1 on error. <h2><a name='sect4' href='#toc4'>See Also</a></h2> <a href='im_global_balance.3.html'>im_global_balance(3)</a> <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> </ul> </body> </html>