next up previous contents
Next: Return Value Up: PILINIT Previous: PILINIT   Contents


This function initializes PIL library. This function has to be called before any other PIL function (there are some exceptions to this rule). It does the following :
First it calculates name of parameter file. Usually name of parameter file equals GETARG(0)+ ".par" suffix but this can be overriden by calling PILSETMODULENAME and/or PILSETMODULEVERSION before calling PILINIT. After successful termination parameter file is opened and read in, and global variable PILRunMode is set to one of the following values :


ISDC_SERVER_MODE is set whenever there is parameter "ServerMode" and its value is "yes" or "y". In any other case PILRunMode is set to ISDC_SINGLE_MODE.

Bryan Irby 2004-10-05