This function retrieves the height and width and resolution of an image.
GetImageInfo(lcImageFile, @lnWidth, @lnHeight, @lnResolution)
.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.
Note this is a function not a method of the wwAPI class. This function is simply stored in the wwAPI.prg file and is directly invoked without a class instance.
This function supports the following image formats that GDI+ supports:
STORE 0 TO lnHeight, lnWidth, lnResolution ? GetImageInfo("c:\temp\bugreport.png",; @lnWidth,@lnHeight,@lnResolution) ? lnWidth, lnHeight, lnResolution
See also:Class wwAPI
Comment or report problem with topic