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 the Image variable to use.
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.
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. This constant is not available.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. This constant is not available.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), ...
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. This constant is not available.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. This constant is not available.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.
Last update: 09/29/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: