Group: GDI+ Image - Library: gdiplus
GDI+: reading and writing metadata in JPEG and TIFF files
GpStatus WINGDIPAPI GdipRemovePropertyItem(
GpImage *image,
PROPID propId
)
DECLARE INTEGER GdipRemovePropertyItem IN gdiplus;
INTEGER img,;
INTEGER propId
img [in] Handle to Image Object
propId [in] Integer that identifies the property item to be removed.
If the method succeeds, it returns Ok (0), which is an element of the Status enumeration.
The GdipRemovePropertyItem removes a specified property from an Image object, but that property item is not removed from the file or stream that was used to construct the Image object.
To save the image (with the property item removed) save it to a new JPEG file or stream, call GdipSaveImageToFile or GdipSaveImageToStream functions.
Home