ReadImage

Reads the contents of an area from within an image into a new file. It allows for creating cropped images. Image formats can be read and saved in gif,jpg,png,bmp,tif depending on these extensions.

ReadImage(lcSource,lcTarget,lnLeft,lnTop,lnWidth,lnHeight)

Return Value

.T. or .F.

Parameters

lcSource
The full path to the source image file.

lcTarget
The full path to the output, cropped file.

lnLeft
Left offset to crop from.

lnTop
Top offset to crop from.

lnWidth
Width of cropped image.

lnHeight
Height of cropped image.

Remarks

Uses wwImaging.dll shipped in the Web Connection directory.


See also:

Class wwAPI

© West Wind Technologies, 1996-2022 • Updated: 07/06/11
Comment or report problem with topic