iflColorModelChans man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



iflColorModelChans(3)		     Image Format Library C++ Reference Manual

NAME
     iflColorModelChans, iflColorModelHasAlpha, iflColorModelFromChans - color
     model utilities

SYNOPSIS
     #include <ifl/iflColor.h>

     int iflColorModelChans(iflColorModel cm)
     int iflColorModelHasAlpha(iflColorModel cm)
     iflColorModel iflColorModelFromChans(int nc)

DESCRIPTION
     The iflColorModelChans() function is provided to return the number of
     channels associated with a color model; it is standalone and is not a
     member function of any object.  Given a color model cm, this function
     returns the number of channels associated with it. For example, for the
     iflRGB color model, a value of 3 will be returned; for the iflMinWhite
     color model a value of 1 will be returned. A value of zero is returned if
     the color model is iflMultiSpectral.

     The iflColorModelHasAlpha() function returns TRUE if the color model
     specifed by cm has an alpha component.

     The iflColorModelFromChans() function return a best guess at a color
     model that matches the number of channels specified by nc.	 The return
     value as a function of the number of channels is:

	  channels    color model

	  1	      iflLuminance

	  2	      iflLuminanceAlpha

	  3	      iflRGB

	  4	      iflRGBA

	  other	      iflMultiSpectral

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net