dmColorGetSrcSize(3dm)

dmColorGetSrcSize, dmColorGetDstSize - get the source/destination image size in bytes.

As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.

NAME
     dmColorGetSrcSize, dmColorGetDstSize - get the source/destination image
     size in bytes.

SYNOPSIS
     #include <dmedia/dm_color.h>

     DMstatus dmColorGetSrcSize (const DMcolorconverter converter,
                                       int             *size);
     DMstatus dmColorGetDstSize (const DMcolorconverter converter,
                                       int             *size);

PARAMETERS
     DMcolorconverter converter
          The converter upon which the action is to be applied.

     int *size
          The expected size in bytes of the source/destination image.

RETURNED VALUE
     DM_COLOR_ERROR_NONE               if operation is successful.
     DM_COLOR_ERROR_INVALID_CONVERTER  if the converter is invalid.
     DM_COLOR_ERROR_INVALID_DIMENSION  if the height or width is < 0.

DESCRIPTION
     The size of the source/destination image depends on several factors.
     These are: the image dimensions, packing, and datatype.

SEE ALSO
     dmColor(3dm) dmColorSetSrcParams(3dm) dmColorSetDstParams(3dm)