Using Win32 functions in Visual FoxPro Image Gallery
GDI+ Image
..msdn
GdipDisposeImage
GdipGetImageFlags
GdipGetImageGraphicsContext
GdipGetImageHeight
GdipGetImageHorizontalResolution
GdipGetImagePalette
GdipGetImagePaletteSize
GdipGetImageRawFormat
GdipGetImageType
GdipGetImageVerticalResolution
GdipGetImageWidth
GdipGetPropertyCount
GdipGetPropertyIdList
GdipGetPropertyItem
GdipGetPropertyItemSize
GdipLoadImageFromFile
GdipRemovePropertyItem
GdipSaveImageToFile
GdipSetImagePalette
GdipSetPropertyItem
Code examples:
GDI+: reading and writing metadata in JPEG and TIFF files
GdipRemovePropertyItem
..msdn    Add comment     W32 Constants      Translate this page
Removes a property item (piece of metadata) from this Image object.
Code examples:
GDI+: reading and writing metadata in JPEG and TIFF files
Declaration:
GpStatus WINGDIPAPI GdipRemovePropertyItem(
    GpImage *image,
    PROPID propId
)

FoxPro declaration:
DECLARE INTEGER GdipRemovePropertyItem IN gdiplus;
    INTEGER img,;
    INTEGER propId

Parameters:
img
[in] Handle to Image Object

propId
[in] Integer that identifies the property item to be removed.
Return value:
If the method succeeds, it returns Ok (0), which is an element of the Status enumeration.
My comment:
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.
Word Index links for the GdipRemovePropertyItem :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-08-10 17:57:35
Modified: 2004-08-10 18:02:11
Visited in last 7 days: 16
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.242.205.33)
15 sec.Function: 'GetMouseMovePointsEx'
30 sec.Function: 'GetDoubleClickTime'
46 sec.Function: 'CM_Locate_DevNode_Ex'
1 min.Function: 'CreateFileTransacted'
1.27 min.Function: 'GetConsoleWindow'
1.52 min.Function: 'BitBlt'
1.78 min.Function: 'GetIconInfo'
2.02 min.Function: 'GetMenuContextHelpId'
2.28 min.Function: 'AVIStreamGetFrameOpen'
2.52 min.Function: 'GetCurrentProcessId'
Google
Advertise here!