TPNGImage help

TPNGImage

Components > TPNGObject > Methods > SaveToStream


Saves the current image to a TStream descendent.

procedure
SaveToStream(Stream: TStream);

Description

This method saves the current loaded image using a TStream descendent. The component saves all the chunks when a image is loaded, change the necessary and use then to save the file again.