Icon Create Method

constructor Create(const FileName: String;
      UseEmbeddedColorManagement: Boolean=False)

constructor Create(Stream: TStream; UseEmbeddedColorManagement:
      Boolean=False)

Available In: Server Applications

Use this method to create a new instance of the TRasterImage class. You can create a new instance and load an existing image using a file name or a TStream descendant class instance.

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