#include "worgen.h"
FUNCTION c_pxcopy (frombuf, tobuf, dtype, ns)
unsigned char *frombuf; unsigned char *tobuf; long *dtype; long *ns;
The source buffer of the data to be copied.
The destination buffer of the data to be copied.
An integer representing the data type of the source and destination buffers. Legal values include the following:
= EBYTE(1): unsigned byte data = EWORD(2): signed two byte data = ELONG(3): signed four byte dat = EREAL(4): four byte floating point data
The number of elements or pixels to be converted or copied.
The c_pxcopy() call is used to copy ns pixels of dtype from frombuf to tobuf.
c_pxcopy() has no return values.