GraphicsFormats Xojo plugin

RawPngExporter.SaveToStream Method

Exports a RawBitmap formatted as PNG to a IBinaryStreamWriter.

SaveToStream(
   image as RawBitmap,
   stream as IBinaryStreamReader)

Parameters

image
The RawBitmap to export.
stream
The stream to encode the Picture file to as PNG.

Remarks

This method can throw ArgumentException.

See Also

RawPngExporter Class