QPxObs_CompressPictureFile(filePath; filePath; filePath; filePath; filePath):error
filePath Text Full pathname
codecType Text Codec type
compQuality Longint Compression quality
compDepth Longint Compression depth, optional
compFlags Longint Compression flags, optional
error Longint Error result

Obsolete in QPix 3.7

This command was compressing PICT files in place.

Returns qpx_paramErr (-50).

Related commands

QPx_DoCodecSettingsDialog Display the standard compression settings dialog
QPx_GetCodecList Get the list of available codecs