SCDefaultPictFileSettings
TheSCDefaultPictFileSettingsfunction allows you to derive default compression settings for a picture that is stored in a file.
pascal ComponentResult SCDefaultPictFileSettings (ComponentInstance ci, short srcRef, short motion);
ci- Identifies your application's connection to a standard image-compression dialog component. You obtain this identifier from the Component Manager's
OpenDefaultComponentfunction.srcRef- Contains a reference to the file to be analyzed.
motion- Specifies whether the image is part of a sequence. Set this parameter to
trueif the image is part of a sequence; set it tofalseif you are working with a single still image.RESULT CODES
File Manager errors