LosslessJpeg.WritePatched Method (Stream, Point, Bitmap)

Patches the image using a given bitmap and writes the result to the specified Stream.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public void WritePatched(
	Stream stream,
	Point offset,
	Bitmap bitmap
)

Parameters

stream

Type: System.IO.Stream

The Stream to save the result.
offset

Type: System.Drawing.Point

A Point at which the bitmap should be placed. Note, it should be aligned to MCU using the AlignToMCUSize(Rectangle, JpegAlignToSampleSizeMode) method.
bitmap

Type: Aurigma.GraphicsMill.Bitmap

A Bitmap to place at the given position.

See Also

Reference

Manual