ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Version: 2425262728
Saving an image in a JPEG file Hide the details
True if the image was saved,False otherwise. To get more details on the error, use ErrorInfo with the errMessage constant.
Name of the Image variable to be used.
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 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.imgGrayScaleUsed to save the image in black and white ("Grayscale" display mode). 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). This constant is not available.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 can be used only if <Image name> is a variable of type Image. The thumbnail will not be recalculated. This constant is not available.By default, the Exif tags are not saved, no operation is performed on the thumbnails. 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.
Last update: 01/06/2023
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: