Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
GDI+: retrieving list of available image encoders and image decoders
..msdn    Add comment     W32 Constants      Translate this page
The GetImageEncoders function gets an array of ImageCodecInfo objects that contain information about the available image encoders.
Code examples:
GDI+: retrieving list of available image encoders and image decoders
Status GetImageEncoders(
    UINT numEncoders,
    UINT size,
    ImageCodecInfo *encoders
FoxPro declaration:
DECLARE INTEGER GdipGetImageEncoders IN gdiplus;
    INTEGER   numEncoders,;
    INTEGER   sze,;
    STRING  @ encoders

[in] Integer that specifies the number of available image encoders.

[in] Integer that specifies the size, in bytes, of the array of ImageCodecInfo objects.

[out] Pointer to a buffer that receives the array of ImageCodecInfo objects.
Return value:
If the function succeeds, it returns Ok (0), which is an element of the Status enumeration.
My comment:
Prior to calling this function call GdipGetImageEncodersSize to determine numEncoders and size parameters.
Word Index links for the GdipGetImageEncoders :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2004-07-23 18:52:30
Modified: 2004-07-25 13:37:07
Visited in last 7 days: 27
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 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.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
20 sec.Function: 'WinHttpSetCredentials'
39 sec.Function: 'MoveFileTransacted'
58 sec.Function: 'GetComputerName'
1.28 min.Function: 'FindCloseChangeNotification'
1.58 min.Function: 'ScreenToClient'
1.88 min.Function: 'CeDeleteDatabase'
2.18 min.Function: 'DPtoLP'
2.5 min.Function: 'SetErrorMode'
2.87 min.Function: 'GdipDrawRectangle'
3.23 min.Function: 'ClearEventLog'
Advertise here!