Notifications
Clear all

[Closed] rendSaveFile and TIF questions

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.

2 Replies

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

got it, Thanks a lot Eric !