コード例 #1
0
 public static extern bool SetTagType(FITAG tag, FREE_IMAGE_MDTYPE type);
コード例 #2
0
 public static extern bool SetTagValue(FITAG tag, byte[] value);
コード例 #3
0
 /// <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));
 }
コード例 #4
0
 public static extern bool SetTagLength(FITAG tag, uint length);
コード例 #5
0
 public static extern FITAG CloneTag(FITAG tag);
コード例 #6
0
 public static extern FIMETADATA FindFirstMetadata(FREE_IMAGE_MDMODEL model, FIBITMAP dib, out FITAG tag);
コード例 #7
0
 public static extern bool SetMetadata(FREE_IMAGE_MDMODEL model, FIBITMAP dib, string key, FITAG tag);
コード例 #8
0
 private static unsafe extern byte* GetTagKey_(FITAG tag);
コード例 #9
0
 public static extern FREE_IMAGE_MDTYPE GetTagType(FITAG tag);
コード例 #10
0
 public static extern IntPtr GetTagValue(FITAG tag);
コード例 #11
0
 public static extern uint GetTagLength(FITAG tag);
コード例 #12
0
 /// <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));
 }
コード例 #13
0
 public static extern ushort GetTagID(FITAG tag);
コード例 #14
0
 /// <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));
 }
コード例 #15
0
 public static extern bool SetTagCount(FITAG tag, uint count);
コード例 #16
0
 private static unsafe extern byte* GetTagDescription_(FITAG tag);
コード例 #17
0
 public static extern bool SetTagDescription(FITAG tag, string description);
コード例 #18
0
 private static unsafe extern byte* TagToString_(FREE_IMAGE_MDMODEL model, FITAG tag, uint Make);
コード例 #19
0
 public static extern bool SetTagID(FITAG tag, ushort id);
コード例 #20
0
 public static extern void DeleteTag(FITAG tag);
コード例 #21
0
 public static extern bool SetTagKey(FITAG tag, string key);
コード例 #22
0
 public static extern bool FindNextMetadata(FIMETADATA mdhandle, out FITAG tag);
コード例 #23
0
 public static extern uint GetTagCount(FITAG tag);