Icon SaveToFile Method

procedure SaveToFile(const FileName: String; ImageFormat:
      TImageFormat=ifPNG)

Available In: Server Applications

Use this method to save the loaded image to the specified file.

Information The specified file name should contain an absolute path. Relative paths are permitted, but they rely on the current working directory. The current working directory is a per-process setting and is not reliable in a multi-threaded setting like the web server.
Image