RLA : BitmapIO

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

As with all FP interfaces, you can access the interface properties directly without explicitly supplying the interface name, for example rla.colorDepth is the same but shorter than rla.iRLAio.colorDepth

Interfaces:

Interface: iRLAio 

Properties:

.colorDepth : integer : Read|Write   

Get/Set the color depth in bits per channel. Possible values are 8, 16 and 32.

   

.alpha : boolean : Read|Write 

Enable/Disable the saving of alpha channel.

   

.premultAlpha : boolean : Read|Write 

Enable/Disable premultiplied alpha.

   

.description : string : Read|Write 

Get/Set the file description string.

   

.author : string : Read|Write 

Get/Set the author string.

   

.zChannel : boolean : Read|Write 

Get/Set Z-buffer channel saving.

   

.mtlIDChannel : boolean : Read|Write 

Enable/Disable material ID channel saving.

   

.nodeIDChannel : boolean : Read|Write 

Enable/Disable node ID channel saving.

   

.uvChannel : boolean : Read|Write 

Enable/Disable texture coordinates channel saving.

   

.normalChannel : boolean : Read|Write 

Enable/Disable normal vector channel saving.

   

.realpixChannel : boolean : Read|Write 

Enable/Disable non-clamped color channel saving.

   

.coverageChannel : boolean : Read|Write 

Enable/Disable coverage channel saving.

EXAMPLE

x = rla.colorDepth--color depth value of 8, 16, or 32
rla.colorDepth = 16--set color depth to 16 bpp
rla.description ="First Revision"--set the file description string
rla.author ="Bobo"--set the author name string
rla.zChannel = true--enable Z-Buffer saving 

See Also