4D v13.4

QT COMPRESS PICTURE

Home

 
4D v13.4
QT COMPRESS PICTURE

QT COMPRESS PICTURE 


 

QT COMPRESS PICTURE ( picture ; method ; quality ) 
Parameter Type   Description
picture  Picture in Picture to be compressed
in Compressed picture
method  String in 4-character string compression method
quality  Longint in Compression quality (1..1000)

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

The QT 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.

 
PROPERTIES 

Product: 4D
Theme: Pictures
Number: 355

This command is deprecated and should not be used anymore

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: < 4D v6
Renamed: 4D v12

 
SEE ALSO 

CONVERT PICTURE
Pictures
QT COMPRESS PICTURE FILE
QT LOAD COMPRESS PICTURE FROM FILE