Group: GDI+ Image - Library: gdiplus
GDI+: reading and writing metadata in JPEG and TIFF files
GpStatus WINGDIPAPI GdipSetPropertyItem(
GpImage *image,
GDIPCONST PropertyItem* item
)
DECLARE INTEGER GdipSetPropertyItem IN gdiplus;
INTEGER img,;
STRING @ itm
img [in] Handle to Image Object
item [in] Pointer to a PropertyItem object that specifies the property item to be set.
Returns GpStatus value, 0 means success.
If the item already exists, then its contents are updated; otherwise, a new item is added. Certain image formats (for example, ICON and EMF) do not support properties.
struct PropertyItem {
LONG id; //type of metadata
ULONG length; // size in bytes of the value array
WORD type; // data type
LPVOID value; // pointer to array of values
};