TPNGImage help

TPNGImage

Components > TPNGObject > Methods > SaveToFile


Saves the current image into a file.

procedure
SaveToFile(const Filename: String);

Description

This method saves the current image into the file specified by filename parameter. The component will use Filters and MaxIdatSize parameters when saving. Also this component keep all the chunks from the loaded image, change the necessary and save everything.