Copies metadata from one FreeImage bitmap to another.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public static int CloneMetadataEx(
	FIBITMAP src,
	FIBITMAP dst,
	FREE_IMAGE_METADATA_COPY flags
)
Visual Basic (Declaration)
Public Shared Function CloneMetadataEx ( _
	src As FIBITMAP, _
	dst As FIBITMAP, _
	flags As FREE_IMAGE_METADATA_COPY _
) As Integer
Visual C++
public:
static int CloneMetadataEx(
	FIBITMAP src, 
	FIBITMAP dst, 
	FREE_IMAGE_METADATA_COPY flags
)

Parameters

src
Type: FreeImageAPI..::.FIBITMAP
Source FreeImage bitmap containing the metadata.
dst
Type: FreeImageAPI..::.FIBITMAP
FreeImage bitmap to copy the metadata to.
flags
Type: FreeImageAPI..::.FREE_IMAGE_METADATA_COPY
Flags to switch different copy modes.

Return Value

Returns -1 on failure else the number of copied tags.

Exceptions

ExceptionCondition
System..::.ArgumentNullException src or dst is null.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also