JPEG interfaces:

JPEG - superclass: BitmapIO; super-superclass:MAXWrapper - classID: #(12, 0)

Constructor

Class instances not creatable by MAXScript

Aliases:

JPEG jpegio

JPEG interfaces

Interface: ijpegio

Methods

getQuality ()

This method returns the quality level of the output image.

   

setQuality <integer>quality

This method allows you to set the quality level of the output image.

quality: The quality level.

   

getSmoothing ()

This method returns the smoothing level of the output image.

   

setSmoothing <integer>smoothing

This method allows you set the smoothing level of the output image.

smoothing: The smoothing level.

The methods in this interface can be accessed by specifying the class, interface, and method. For example: jpeg.ijpegio.getType() .

MAXScript will automatically search through a class’ interfaces for a property or method name if the name isn’t found as a class method or property. This allows you to say: jpeg.getType() .

Providing the fully qualified name of the method results in faster script execution. Providing the fully qualified name is also safer, as at some point in time another interface could be specified for the class, and a method or property with the same name could be defined in that interface. Which method or property is used would then be dependent on the order in which the interfaces were searched for the method or property name.

See Also Class IBitmapIO_Jpeg, in the SDK Help file accompanying this product.

See Also