TPNGExportFormat.SaveToStreamCompression

TPNGExportFormat.SaveToStreamCompression
TPNGExportFormat

procedure SaveToStreamCompression(AStream: TStream; CompressionLevel: Integer);

Unit
TeePNG

Description
Use this method to save the PNG image to stream with the specified Compression level.
( From 0 to 9, being 9 the maximum compression. )