cmsapplytfm man page on IRIX

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



cmsApplyTfm(3)			     CMS			cmsApplyTfm(3)

NAME
     cmsApplyTfm - apply a color management tranform to a pixel buffer

SYNOPSIS
     #include <cms.h>

     int32 cmsApplyTfm (ctxt, tfm, *psrc, *pdest);
     CMSContext ctxt;
     CMSTfm tfm;
     CMSPixelBuffer *psrc;
     CMSPixelBuffer *pdest;

DESCRIPTION
     cmsTfmApply uses the transform tfm to apply a conversion to the input
     pixel buffer psrc, generating the output pixel buffer pdest.

     In-place conversions may not be possible; for example, if the output
     format requires more space than the input format (RGB to CMYK), or if the
     CMM can not support in-place conversions.	In such cases, an error will
     be generated.

     Transformations may take a while to perform.  If you are concerned about
     maintaining interactivity, you may wish to transform images in smaller
     sized chunks.  Use the hint CMS_SPEED_ACHIEVED to determine the rate at
     which the system can update pixels using the current transform.  Using
     this number as a guide, you can perform a lengthy conversion in chunks
     small enough to maintain interactive responsiveness.

ERRORS
     CMS_WRONG_DATA
	       Either one of the pixel buffer pointers does not point to a
	       pixel buffer, or it points to a buffer of the wrong format for
	       the transform.

     CMS_BAD_TFM
	       tfm is either not a transform, or it is not a transform built
	       using the context ctxt.

     CMS_BAD_PIXEL_BUF
	       Either one of the pixel buffer pointers does not point to a
	       pixel buffer, or it points to a buffer of the wrong format for
	       the transform.

     CMS_CONVERT_ERROR
	       This transform could not be applied to the data. This error
	       will be generated if a transform could not be performed in-
	       place.

									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