FreeImage.NET Class Library Reference
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: Int32Returns -1 on failure else the number of copied tags.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | src or dst is null. |
See Also