|
|
|
|
|
dSaveImage (Function) In french: dSauveImage
Warning
dSaveImage is kept for backward compatibility.In this version, the image save process has been improved. Four functions can now be used to save images: These functions allow you to optimize the image save process. Remark: These functions cannot be used in reports. The documentation about dSaveImage is as follows.
| Purpose Save an image on disk. Syntax <Result> = dSaveImage(<ImageControlName> , <FileName> [,<NumberColors> [, <Format> [, <Quality>]]]) - <Result> is a boolean that is set to True if saved successfully.
- <ImageControlName> is the name of the Image control we want to save.
- <FileName> is the name of the file.
- <NumberColors> is an integer used to define the number of colors in the image saved (0 by default).
- <Format> "BMP" (by default) or "JPG" or "GIF".
- <Quality> save quality: between 1 and 100 for JPEG, between 16 and 256 for GIF (=number of colors in the palette), not used for BMP
Details dSaveImage saves the visible section of the relevant Image control. Summary: Interaction between the different parameters of the function | | | | <Format> | <NumberColors> | <Quality> | Details | "BMP" | 0 or 16 | Not used | If NumberColors=0, uses the number of colors defined in the resolution | "JPG" | Not used | 1-100 | Color depth on 24 bits | "GIF" | Not used | 16-256 | <Quality> indicates the number of colors in the palette | RemarksThe existence of the file is not checked. The file is overwritten if it existed. dSaveImage saves images for screen resolutions up to 32 bits. The drawing functions (starting with the letter "d") must only be used with the "image" controls. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|