Using Win32 functions in Visual FoxPro Image Gallery
GDI+
..msdn
GdipGetImageDecoders
GdipGetImageDecodersSize
GdipGetImageEncoders
GdipGetImageEncodersSize
GdiplusShutdown
GdiplusStartup
Code examples:
GDI+: retrieving list of available image encoders and image decoders
GdipGetImageEncoders
..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
Declaration:
Status GetImageEncoders(
    UINT numEncoders,
    UINT size,
    ImageCodecInfo *encoders
);
FoxPro declaration:
DECLARE INTEGER GdipGetImageEncoders IN gdiplus;
    INTEGER   numEncoders,;
    INTEGER   sze,;
    STRING  @ encoders

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

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

encoders
[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  
FreeTranslation.com 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: 20
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Google
Advertise here!