4D v14.3QT COMPRESS PICTURE FILE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
QT COMPRESS PICTURE FILE
QT COMPRESS PICTURE FILE
This command calls for obsolete mechanisms and is only kept for compatibility reasons. It has been favorably replaced by the WRITE PICTURE FILE or PICTURE TO BLOB commands. This command compresses a picture document on disk. Use this command to compress a picture that you know cannot be loaded with the available memory. Once compressed, it can be loaded into memory using QT LOAD COMPRESS PICTURE FROM FILE. Note: This command does not work on Windows. The parameter method is a 4-character string indicating the compressor type. You should pass one of the constants of the Picture Compression theme in method. The parameter quality is an integer between 1 and 1000 indicating the quality of the compressed picture. In general, reducing the quality will allow for greater compression of the picture. Warning: The compression ratio possible for a given quality depends on the size and nature of the picture you are compressing. Compressing small pictures may not produce any decrease in size. |
PROPERTIES
Product: 4D
HISTORY
Created: < 4D v6 SEE ALSO
QT COMPRESS PICTURE ARTICLE USAGE
4D Language Reference ( 4D v12.4) Inherited from : COMPRESS PICTURE FILE ( 4D v11 SQL Release 6) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||