Copies metadata from one FreeImage bitmap to another.
Namespace:
FreeImageAPIAssembly: 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
Exception | Condition |
---|---|
System..::.ArgumentNullException | src or dst is null. |