Open the PBMPlus file filename. PBM files are created if rendered in LINE mode, PPM files are created for all other rendering modes. Access is any of the standard access modes allowed by the Tcl open command. Read access is not currently supported. The command returns a handle to the PBM file. Filename follows the full semantics of the file name argument to the Tcl open command. Thus the PBM file may be sent to a pipeline, which could be a viewer or post-processing program.
If -plain is specified, a plain (ASCII) format file is created. If -raw is specified, a raw (binary) format file is created. If neither are specified, raw format is used.