This function retrieves the height and width and resolution of an image.
.T. or .F.
The image file to retrieve info for.
The width to retrieve. Pass by reference.
The height to retrieve. Pass by reference
The image resolution in Dot per Inch (DPI). Pass by reference.
Uses wwImaging.dll shipped in the Web Connection directory.
This function requires wwImaging.dll and uses GDI+ which is available with XP/.NET Server by default and as separate installs on all other platforms. The latest versions of Internet Explorer (6.0), the Windows Media player and the .NET Platform also install GDI+.
Note this is a function not a method of the wwAPI class. This function is simply stored in the wwAPI.prg file.
This function supports the following image formats:
GDI+ is downloadable from:
lnHeight = 0 lnWidth = 0 lnResolution = 0 ? GetImageInfo("d:\westwind\images\wconnect.gif",; @lnWidth,@lnHeight,@lnResolution) ? lnWidth, lnHeight, lnResolution
See also:Class wwAPI
Comment or report problem with topic