Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dmColorGetSrcSize(3dm) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dmColor(3dm)

dmColorSetSrcParams(3dm)

dmColorSetDstParams(3dm)



dmColorGetSrcSize(3dm)                                  dmColorGetSrcSize(3dm)



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

SYNOPSIS
     #include <dmedia/dmcolor.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)

























                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026