Targa : BitmapIO

Targa - superclass: BitmapIO; super-superclass:MAXWrapper - classID: #(6, 0)

Constructor

Class instances not creatable by MAXScript

Aliases:

Targa

tgaio

Targa interfaces

Interface: itgaio

Methods

getColorDepth()

This method returns the color depth, which would be 16, 24, or 32.

setColorDepth <integer>colorDepth

This method allows you to set the color depth.

colorDepth: The color depth, being either 16, 24, or 32.

getCompressed()

This method returns True if the compression flag is set, otherwise False.

setCompressed <boolean>compression

This method allows you to set the compression flag.

compression: True to set the compression flag, otherwise False.

getAlphaSplit()

This method returns True if the alpha split flag is set, otherwise False.

setAlphaSplit <boolean>alphaSplit

This method allows you to set the alpha split flag.

alphaSplit: True to set the alpha split flag, otherwise False.

getPreMultAlpha()

This method returns True if the premultiplied alpha flag is set, otherwise False.

setPreMultAlpha <boolean>preMultAlpha

This method allows you to set the premultiplied alpha flag.

preMultAlpha: True to set the premultiplied alpha flag, otherwise False.

<string>getAuthor()

<void>setAuthor <string>author

The author name will be clamped to 40 characters

<string>getJobName()

<void>setJobName <string>jobname

The Job name will be clamped to 40 characters

<string>getComment1()

<void>setComment1 <string>comment

<string>getComment2()

<void>setComment2 <string>comment

<string>getComment3()

<void>setComment3 <string>comment

<string>getComment4()

<void>setComment4 <string>comment

The Comments will be clamped to 80 characters

The methods in this interface can be accessed by specifying the class, interface, and method. For example: targa.itgaio.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: targa.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 can be 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 the interfaces were searched for the method or property name.

See also Class IBitmapIO_Tga, in the SDK Help file accompanying this product.

See also

BitmapIO Classes

BMP : BitmapIO

JPEG : BitmapIO

Portable_Network_Graphics : BitmapIO

TIF : BitmapIO