public static extern bool SetTagType(FITAG tag, FREE_IMAGE_MDTYPE type);
public static extern bool SetTagValue(FITAG tag, byte[] value);
/// <summary> /// Returns the tag description. /// </summary> /// <param name="tag">The tag field.</param> /// <returns>The description or NULL if unavailable.</returns> public static unsafe string GetTagDescription(FITAG tag) { return PtrToStr(GetTagDescription_(tag)); }
public static extern bool SetTagLength(FITAG tag, uint length);
public static extern FITAG CloneTag(FITAG tag);
public static extern FIMETADATA FindFirstMetadata(FREE_IMAGE_MDMODEL model, FIBITMAP dib, out FITAG tag);
public static extern bool SetMetadata(FREE_IMAGE_MDMODEL model, FIBITMAP dib, string key, FITAG tag);
private static unsafe extern byte* GetTagKey_(FITAG tag);
public static extern FREE_IMAGE_MDTYPE GetTagType(FITAG tag);
public static extern IntPtr GetTagValue(FITAG tag);
public static extern uint GetTagLength(FITAG tag);
/// <summary> /// Returns the tag field name (unique inside a metadata model). /// </summary> /// <param name="tag">The tag field.</param> /// <returns>The field name.</returns> public static unsafe string GetTagKey(FITAG tag) { return PtrToStr(GetTagKey_(tag)); }
public static extern ushort GetTagID(FITAG tag);
/// <summary> /// Converts a FreeImage tag structure to a string that represents the interpreted tag value. /// The function is not thread safe. /// </summary> /// <param name="model">The metadata model.</param> /// <param name="tag">The interpreted tag value.</param> /// <param name="Make">Reserved.</param> /// <returns>The representing string.</returns> public static unsafe string TagToString(FREE_IMAGE_MDMODEL model, FITAG tag, uint Make) { return PtrToStr(TagToString_(model, tag, Make)); }
public static extern bool SetTagCount(FITAG tag, uint count);
private static unsafe extern byte* GetTagDescription_(FITAG tag);
public static extern bool SetTagDescription(FITAG tag, string description);
private static unsafe extern byte* TagToString_(FREE_IMAGE_MDMODEL model, FITAG tag, uint Make);
public static extern bool SetTagID(FITAG tag, ushort id);
public static extern void DeleteTag(FITAG tag);
public static extern bool SetTagKey(FITAG tag, string key);
public static extern bool FindNextMetadata(FIMETADATA mdhandle, out FITAG tag);
public static extern uint GetTagCount(FITAG tag);