TPNGImage help

TPNGImage

Components > TPNGObject > Methods > LoadFromStream


Loads the current image from a TStream descendent.

procedure
LoadFromStream(Stream: TStream);

Description

This method uses the data from the Stream object on the parameter to load a Portable Network Graphics image. This method might be useful to read data from a TStream that handles different sources of data such as registry, resources or even from internet.