### QPx_GetCompressedPictureInfo

QPx_GetCompressedPictureInfo(pictVar; codecType; compQuality; compDepth):error
| pictVar | Picture | Compressed picture
| codecType | String4 | Codec type
| compQuality | Longint | Compression quality
| compDepth | Longint | Compression depth
| error | Longint | Error result

Returns information about a QuickTime-compressed picture.

Parameter pictVar is the picture for which to return information.

Parameter codecType receives the type of the QuickTime compressor component (codec) that compressed the picture.

Parameter compQuality is set to the compression quality. The compression quality a number in the range of 0 ... 1024. The following constants define commonly used values:

qpx_MinQuality | 0 | Minimal quality
qpx_LowQuality | 256 | Low quality
qpx_NormalQuality | 512 | Normal quality
qpx_HighQuality | 768 | High quality
qpx_MaxQuality | 1023 | Maximum quality
qpx_LosslessQuality | 1024 | Lossless quality

Parameter compDepth receives the depth at which the picture was compressed. Possible values for compDepth are:

qpx_BlackAndWhite | 1 | Black and white
qpx_FourColors | 2 | Four colors
qpx_SixteenColors | 4 | Sixteen colors
qpx_TwoHundredFiftySixColors | 8 | 256 colors
qpx_ThousandsColors | 16 | Thousands of colors
qpx_MillionColors | 24 | Million of colors
qpx_MillionColorsPlusAlpha | 32 | Million of colors plus alpha
qpx_FourGrays | 34 | Four grays
qpx_SixteenGrays | 36 | Sixteen grays
qpx_TwoHundredFiftySixGrays | 40 | 256 grays

If pictVar is not a compressed picture, codecType is set to an empty string and compQuality and compDepth are set to zero.

Related commands

QPx_CompressPicture | Compresses a picture variable
QPx_GetPictureInfo | Returns the properties of a 4D picture variable

QPix © Escape
Generated by QDoc 2.8 on Wed, Feb 17, 2010 17:43:42