|
- Image found in a Web Camera control
- Drawing in browser code
- Drawing in PHP
<Image>.SaveJPEG (Function) In french: <Image>.SauveJPEG
// Saves in memory the image found in "IMG_ImageDrawing" ResSave = IMG_ImageDrawing.SaveJPEG(inMemory)
Syntax
Saving an image in memory Hide the details
<Result> = <Image control>.SaveJPEG(<inMemory> [, <Quality> [, <Exif tag>]])
<Result>: Buffer 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), ... <Image control>: Control name - 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 Image control or Web Camera control to use  Name of Image control to use.
<inMemory>: Constant inMemory: Constant used to save an image in memory. <Quality>: Optional integer 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. <Exif tag>: Optional constant (or combination of constants) Save the Exif tags modified by ImageInfoModify: | | imgAddThumbnail | Adds a thumbnail into the image file (<File name>). This constant is ignored if a thumbnail is found in the image file displayed in the Image control.
| imgProgressiveJPEG | Used 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). | imgSaveTag | Saves the Exif tags. A new thumbnail is calculated if a thumbnail is found in the image file displayed in the Image control. | 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. Image found in a Web Camera control Only the image displayed when <Image>.SaveJPEG is run will be saved. To save this image, you can also use: - the function <Camera>.Capture: the image will be saved in BMP format
- the function <Image>.SaveBMP: the image will be saved in BMP format or in memory
- the function <Image>.SaveGIF: the image will be saved in GIF format or in memory
- the function <Image>.SavePNG: the image will be saved in PNG format or in memory.
Versions 16 and later New in version 16
This page is also available for…
|
|
|
| |
| Click [Add] to post a comment |
|
| |
|
| |
| |
| |
| |
| |
| |
| | |
| |