FreeImage.CloneMetadataEx Method

FreeImage.NET

FreeImageCloneMetadataEx Method
Copies metadata from one FreeImage bitmap to another.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static int CloneMetadataEx(
	FIBITMAP src,
	FIBITMAP dst,
	FREE_IMAGE_METADATA_COPY flags
)

Parameters

src
Type: FreeImageAPIFIBITMAP
Source FreeImage bitmap containing the metadata.
dst
Type: FreeImageAPIFIBITMAP
FreeImage bitmap to copy the metadata to.
flags
Type: FreeImageAPIFREE_IMAGE_METADATA_COPY
Flags to switch different copy modes.

Return Value

Type: Int32
Returns -1 on failure else the number of copied tags.
Exceptions
ExceptionCondition
ArgumentNullExceptionsrc or dst is null.
See Also