imageCompression

Usage

-- Lingo syntax
_movie.imageCompression
memberObjRef.imageCompression

// JavaScript syntax
_movie.imageCompression;
memberObjRef.imageCompression;

Description

Movie and bitmap cast member property; indicates the type of compression that Director applies to internal (non-linked) bitmap cast members when saving a movie in Shockwave Player format. Read/write.

Valid values for imageCompression include the following:

Value Meaning

#standard

Use the Director standard internal compression format.

#movieSetting

Use the compression settings of the movie, as stored in the _movie.imageCompression property. This is the default value for image formats not restricted to standard compression.

#jpeg

Use JPEG compression. See imageQuality.

You normally set this property in the Director Publish Settings dialog box.

Example

This statement displays in the Message window the imageCompression that applies to the currently playing movie:

-- Lingo syntax
put(_movie.imageCompression)

// JavaScript syntax
put(_movie.imageCompression);

See also

imageQuality, Movie