COMPRESS PICTURE

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 3


COMPRESS PICTURE (picture; method; quality)

ParameterTypeDescription
picturePicturePicture to be compressed
Compressed picture
methodString4-character string compression method
qualityNumberCompression quality (1..1000)

Compatibility note: This command calls for obsolete mechanisms and is only kept for compatibility reasons. It has been favorably replaced by the CONVERT PICTURE command.

Description

The COMPRESS PICTURE command compresses the picture contained in the field or variable picture.

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 this parameter.

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.

See Also

COMPRESS PICTURE FILE, CONVERT PICTURE, LOAD COMPRESS PICTURE FROM FILE, Pictures.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next