TIF interfaces:

TIF - superclass: BitmapIO; super-superclass:MAXWrapper - classID: #(64530, 0) 

The TIF BitmapIO class provides a function published interface for tiff I/O that gives access to the settings of the image format to be saved.

Constructor

Class instances not creatable by MAXScript 

Aliases:

TIF tifio 

TIF interfaces

Interface: itifio 

Methods:

<enum>TIF.getType () 

getType enums: {#mono | #color | #logL | #logLUV | #color16 } 

This method returns the format type, which is one of the enum types.

Thetype #color16 wasaddedin 3ds Max 8 to provide access to the new 16-bit color option.

   

<void>TIF.setType <enum>type 

type enums: {#mono | #color | #logL | #logLUV | #color16 } 

This method allows you to set the format type.

Thetype #color16 wasaddedin 3ds Max 8 to provide access to the new 16-bit color option.

   

<enum>TIF.getShowControl () 

getShowControl enums: {#true | #false} 

   

<void>TIF.setShowControl <enum>showControl 

showControl enums: {#true | #false} 

   

<enum>TIF.getCompression () 

getCompression enums: {#none | #packBits} 

   

<void>TIF.setCompression <enum>compression 

compression enums: {#none | #packBits} 

   

<enum>TIF.getAlpha () 

getAlpha enums: {#true | #false} 

   

<void>TIF.setAlpha <enum>onOff 

onOff enums: {#true | #false} 

   

<float>TIF.getDPI () 

This method returns the DPI resolution.

   

<void>TIF.setDPI <float>dpi 

This method allows you to set the DPI resolution

The methods in this interface can be accessed by specifying the class, interface, and method. For example: tif.itifio.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: tif.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