imaqDuplicate

NI Vision for LabWindows/CVI Function

imaqDuplicate

Usage

int imaqDuplicate(Image* dest, const Image* source);

Purpose

Copies the source image to the destination image, including the border size and vision information. To copy an area of one image to an area of another image, use imaqCopyRect().

Image Types Supported

IMAQ_IMAGE_U8, IMAQ_IMAGE_U16, IMAQ_IMAGE_I16, IMAQ_IMAGE_SGL, IMAQ_IMAGE_COMPLEX, IMAQ_IMAGE_RGB, IMAQ_IMAGE_HSL, IMAQ_IMAGE_RGB_U64

Parameters

Name

Type

Description

dest Image* The duplicated image.
source const Image* The image to copy.

Return Value

Type

Description

int On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError().