4D v14.3READ PICTURE FILE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
READ PICTURE FILE
READ PICTURE FILE
The READ PICTURE FILE command opens the picture saved in the fileName disk file and loads it in the picture 4D field or variable. You can pass in fileName the full pathname of the file to read, or a file name only. If you pass only the file name, it should be located next to the database structure file. Under Windows, the file extension must be indicated. You can get the list of available formats using the PICTURE CODEC LIST command. You pass in picture the picture variable or field which will receive the picture read. Note: The internal picture format is stored within the 4D variable or field. If you pass the optional * parameter, the command will accept any type of file. This means that you can work with pictures without necessarily having the suitable codecs (see the description of the BLOB TO PICTURE command). If the command is executed successfully, the system variable Document contains the full pathname to the open file and the system variable OK is set to 1. Otherwise, OK is set to 0. |
PROPERTIES
Product: 4D
HISTORY
Modified: 4D v11 SQL Release 2 SEE ALSO
BLOB TO PICTURE ARTICLE USAGE
4D Language Reference ( 4D v14 R3) Inherited from : READ PICTURE FILE ( 4D v12.4) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||