ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Version: 151617181920212223242526
Saving an image in a file in JPEG 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 Image control or Web Camera control to use. Name of the Image control to use. Name of the Image variable to use. This type of variable is not available.
Name and full (or relative) path of JPEG file. 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 JPEG file is not checked. This file is automatically overwritten if it already exists. Name and full path of JPEG file to create. The file extension is optional.
Quality of the image saved. Value included between 1 and 100 (80 by default). Lower image quality translates into higher image compression rate and smaller file size.
Save the Exif tags modified by ImageInfoModify:imgAddThumbnailAdds a thumbnail into the image file (<File name>).If there is a thumbnail in the image file displayed in the Image control, this constant is not taken into account.imgProgressiveJPEGUsed to save the image in progressive JPEG format. This format is mainly used for the Web sites. It allows the pages to be loaded faster (the images being loaded and displayed progressively).imgGrayScaleUsed to save the image in black and white ("Grayscale" display mode).imgSaveTagSaves the Exif tags.If there is a thumbnail in the image file displayed in the Image control, a new thumbnail is recalculated.By default, the Exif tags are not saved, no operation is performed on the thumbnails.This parameter is available only if <Control name> corresponds to the name of an Image control. This parameter is not available.
Saving an image in memory Hide the details
Byte string containing the image in JPEG 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.
Save the Exif tags modified by ImageInfoModify:imgAddThumbnailAdds a thumbnail into the image file (<File name>).If there is a thumbnail in the image file displayed in the Image control, this constant is not taken into account. imgProgressiveJPEGUsed to save the image in progressive JPEG format. This format is mainly used for the Web sites. It allows the pages to be loaded faster (the images being loaded and displayed progressively).imgSaveTagSaves the Exif tags.If there is a thumbnail in the image file displayed in the Image control, a new thumbnail is recalculated.By default, the Exif tags are not saved, no operation is performed on the thumbnails.This parameter is available only if <Control name> corresponds to the name of an Image control. This parameter is not available.
Image found in a Web Camera control
Last update: 08/21/2020
Send a report | Local help
Searching...
I accept the terms of the license agreement
All you have to do is configure your product as follows: