<!-- manual page source format generated by PolyglotMan v3.2, --> <!-- available at http://polyglotman.sourceforge.net/ --> <html> <head> <title>IM_ISINT(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_isint, im_isuint, im_isfloat, im_isscalar, im_iscomplex, im_isfile, im_ispartial, im_isvips, im_isMSBfirst, im_fexists, im_amiMSBfirst - classify image types <h2><a name='sect1' href='#toc1'>Synopsis</a></h2> <b>#include <vips/vips.h></b> <p> int im_isMSBfirst( im ) <br> IMAGE *im; <p> int im_amiMSBfirst( void ) <p> int im_fexists( const char *filename, ... ) <p> int im_isvips( filename ) <br> char *filename; <p> int im_isfile( im ) <br> IMAGE *im; <p> int im_ispartial( im ) <br> IMAGE *im; <p> int im_isint( im ) <br> IMAGE *im; <p> int im_isuint( im ) <br> IMAGE *im; <p> int im_isfloat( im ) <br> IMAGE *im; <p> int im_isscalar( im ) <br> IMAGE *im; <p> int im_iscomplex( im ) <br> IMAGE *im; <p> <h2><a name='sect2' href='#toc2'>Description</a></h2> <a href='im_fexists.3.html'>im_fexists(3)</a> returns non-zero if the named file exists and is readable. Args as <a href='printf.3.html'>printf(3)</a> . <p> <a href='im_isvips.3.html'>im_isvips(3)</a> tests a file for vips-ness. <p> <a href='im_isMSBfirst.3.html'>im_isMSBfirst(3)</a> returns <a href='true.1.html'>true (1)</a> if the file is in most-significant-byte first form. This is the byte order used on the SPARC architecture, and others. It returns false (0)for intel-order images. <p> <a href='im_amiMSBfirst.3.html'>im_amiMSBfirst(3)</a> returns <a href='true.1.html'>true (1)</a> if this processor is MSB first. <p> <a href='im_isfile.3.html'>im_isfile(3)</a> returns true if the descriptor corresponds to some disc object, that is, was opened with modes "r", "rw" or "w". <p> <a href='im_ispartial.3.html'>im_ispartial(3)</a> returns true if the descriptor is partial, that is, was opened with mode "p". <p> The rest of these functions test im->BandFmt, returning logical truth (non-zero) if BandFmt is one of a number of possibles, and returning zero if it is not. <p> <a href='im_isint.3.html'>im_isint(3)</a> (is integer type) returns true if im->BandFmt is one of FMTUCHAR, FMTCHAR, FMTUSHORT, FMTSHORT, FMTUINT or FMTINT. <p> <a href='im_isuint.3.html'>im_isuint(3)</a> (is unsigned integer type) returns true if im->BandFmt is one of FMTUCHAR, FMTUSHORT or FMTUINT. <p> <a href='im_isfloat.3.html'>im_isfloat(3)</a> (is floating point type) returns true if im->BandFmt is one of FMTFLOAT or FMTDOUBLE. <p> <a href='im_isscalar.3.html'>im_isscalar(3)</a> (is scalar type) returns true if im->BandFmt is one of FMTUCHAR, FMTCHAR, FMTUSHORT, FMTSHORT, FMTUINT, FMTINT, FMTFLOAT or FMTDOUBLE. <p> <a href='im_iscomplex.3.html'>im_iscomplex(3)</a> (is complex type) returns true if im->BandFmt is one of FMTCOMPLEX or FMTDPCOMPLEX. <p> <h2><a name='sect3' href='#toc3'>Copyright</a></h2> National Gallery, 1993 <h2><a name='sect4' href='#toc4'>See Also</a></h2> <a href='im_tiff2vips.3.html'>im_tiff2vips(3)</a> , <a href='im_jpeg2vips.3.html'>im_jpeg2vips(3)</a> <h2><a name='sect5' href='#toc5'>Author</a></h2> J. Cupitt - 23/7/93 <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'>Copyright</a></li> <li><a name='toc4' href='#sect4'>See Also</a></li> <li><a name='toc5' href='#sect5'>Author</a></li> </ul> </body> </html>