ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Saving an image in a file in BMP format Hide the details
True if the image was saved,False otherwise. To get the details of the error, use ErrorInfo with the errMessage constant.
Name of Image control, Bar Code control or Web Camera control to use. The Image controls found in a report cannot be used. Name of the variable of type Image to be used.
Name and full (or relative) path of BMP file to create. A UNC path can be used. The file extension is optional.Caution: The destination directory must exist in order for the image to be saved.The existence of the BMP file is not checked. This file is automatically overwritten if it already exists.
Number of colors for the image saved:0 (by default): number of colors defined in the screen resolution16: 16 colorsThis parameter corresponds to the number of colors proposed in the color palette when using the BMP file.
Saving an image in memory Hide the details
Byte string containing the image in BMP format. Then this byte string can be assigned to an Image control, saved in a file (fSaveText), sent via a network (with the Socket functions), ...
inMemory: Constant used to save an image in memory.
Number of colors for the image saved:0 (by default): number of colors defined in the screen resolution.16: 16 colors.This parameter corresponds to the number of colors proposed in the color palette when using the BMP file.
Image found in a Web Camera control
Last update: 10/20/2021
Send a report | Local help
I accept the terms of the license agreement
All you have to do is configure your product as follows: