Skip to main content

TdxJPEGImage.SaveToStream(TStream) Method

Saves the stored JPEG image to the specified stream.

Declaration

procedure SaveToStream(AStream: TStream); override;

Parameters

Name Type
AStream TStream

Remarks

Call this procedure to save the stored image to a stream object passed as the AStream parameter using the Quality property value as the JPEG codec quality setting. The SaveToStream procedure calls the SaveToStreamByCodec procedure internally, passing the AStream stream object and the JPEG image codec as parameters.

See Also