manpagez: man pages & more
man im_isint(3)
Home | html | info | man
IM_ISINT(3)                                                        IM_ISINT(3)




NAME

       im_isint,  im_ispng,  im_isuint, im_isfloat, im_isscalar, im_iscomplex,
       im_istiff, istifftiled, im_isjpeg, im_isfile, im_ispartial,  im_isvips,
       im_isMSBfirst, im_fexists, im_amiMSBfirst - classify image types


SYNOPSIS

       #include <vips/vips.h>

       int im_isMSBfirst( im )
       IMAGE *im;

       int im_amiMSBfirst( void )

       int im_fexists( const char *filename, ... )

       int im_istiff( filename )
       char *filename;

       int im_istifftiled( filename )
       char *filename;

       int im_isjpeg( filename )
       char *filename;

       int im_ispng( filename )
       char *filename;

       int im_isppm( filename )
       char *filename;

       int im_isvips( filename )
       char *filename;

       int im_isfile( im )
       IMAGE *im;

       int im_ispartial( im )
       IMAGE *im;

       int im_isint( im )
       IMAGE *im;

       int im_isuint( im )
       IMAGE *im;

       int im_isfloat( im )
       IMAGE *im;

       int im_isscalar( im )
       IMAGE *im;

       int im_iscomplex( im )
       IMAGE *im;



DESCRIPTION

       im_fexists(3)  returns  non-zero  if the named file exists and is read-
       able. Args as printf(3).

       im_istiff(3) tests a file for tiff-ness.

       im_istifftiled(3) tests a file for tiff-tiled-ness.

       im_isjpeg(3) tests a file for jpeg-ness.

       im_ispng(3) tests a file for png-ness.

       im_isppm(3) tests a file for PPM/PGM/PBM-ness.

       im_isvips(3) tests a file for vips-ness.

       im_isMSBfirst(3) returns true (1) 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.

       im_amiMSBfirst(3) returns true (1) if this processor is MSB first.

       im_isfile(3) returns true if the descriptor corresponds  to  some  disc
       object, that is, was opened with modes "r", "rw" or "w".

       im_ispartial(3) returns true if the descriptor is partial, that is, was
       opened with mode "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.

       im_isint(3) (is integer type) returns true if  im->BandFmt  is  one  of
       FMTUCHAR, FMTCHAR, FMTUSHORT, FMTSHORT, FMTUINT or FMTINT.

       im_isuint(3)  (is unsigned integer type) returns true if im->BandFmt is
       one of FMTUCHAR, FMTUSHORT or FMTUINT.

       im_isfloat(3) (is floating point type) returns true if  im->BandFmt  is
       one of FMTFLOAT or FMTDOUBLE.

       im_isscalar(3)  (is  scalar type) returns true if im->BandFmt is one of
       FMTUCHAR, FMTCHAR, FMTUSHORT, FMTSHORT, FMTUINT,  FMTINT,  FMTFLOAT  or
       FMTDOUBLE.

       im_iscomplex(3) (is complex type) returns true if im->BandFmt is one of
       FMTCOMPLEX or FMTDPCOMPLEX.



COPYRIGHT

       National Gallery, 1993


SEE ALSO

       im_tiff2vips(3), im_jpeg2vips(3)


AUTHOR

       J. Cupitt - 23/7/93



                                 11 April 1990                     IM_ISINT(3)

im_iscomplex 7.14.5 - Generated Fri Sep 5 19:53:37 CDT 2008
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.