Back to FabImage Library website

You are here: Start » Function Reference » Image » Image Basics » CopyImageData

CopyImageData


Header: FIL.h
Namespace: fil
Module: FoundationLite

Creates an image copy with the same size and pixel format.

Syntax

C++
C#
 
void fil::CopyImageData
(
	const fil::Image& inImage,
	ftl::Optional<const fil::Region&> inRoi,
	fil::Image& outImage
)

Parameters

Name Type Default Description
Input value inImage const Image& Input image
Input value inRoi Optional<const Region&> NIL Range of pixels to be processed
Output value outImage Image& Output image

Errors

List of possible exceptions:

Error type Description
DomainError Region exceeds an input image in CopyImageData.