PDA

View Full Version : rendSaveFile and TIF questions


Polimeno
02-11-2010, 02:07 PM
Hey guys,
i need to render a sequence file.

So far, i can set an output directory and the file itself, e.g:

tmp_Path = getDir #temp
theName = "Sequence_Test_"
Prefix = ".tif"

rendSaveFile = true
rendOutputFileName = (tmp_Path + "\\" + theName + Prefix)


But i donīt know how to script the TIF properties i need (TIF Image Control Dialog), e.g
- 16-bit Color
- Store Alpha Channel
- DPI 350.0


any tip would be appreciated.
thanks in advance.

PiXeL_MoNKeY
02-11-2010, 03:20 PM
Look up the TIF Interfaces in the Maxscript Help (BMP, JPEG, EXR, PNG, RLA, RPF, TGA, and TIF have bitmap interfaces). These interfaces will allow you to get/set most of the properties. This should set your desired settings.tif.setType #color16
tif.setAlpha #true
tif.SetDPI 350.0-Eric

Polimeno
02-12-2010, 11:32 AM
got it, Thanks a lot Eric !

CGTalk Moderation
02-12-2010, 11:32 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.