Table of Contents

Class RawImage

Namespace
FellowOakDicom.Imaging
Assembly
fo-dicom.core.dll

IImage implementation as a raw BGRA32 byte array.

public sealed class RawImage : ImageBase<byte[]>, IImage, IDisposable
Inheritance
RawImage
Implements
Inherited Members
Extension Methods

Constructors

RawImage(int, int)

Initializes an instance of the RawImage object.

public RawImage(int width, int height)

Parameters

width int

Image width.

height int

Image height.

Methods

Clone()

Creates a deep copy of the image.

public override IImage Clone()

Returns

IImage

Deep copy of this image.

DrawGraphics(IEnumerable<IGraphic>)

Draw graphics onto existing image.

public override void DrawGraphics(IEnumerable<IGraphic> graphics)

Parameters

graphics IEnumerable<IGraphic>

Graphics to draw.

Render(int, bool, bool, int)

Renders the image given the specified parameters.

public override void Render(int components, bool flipX, bool flipY, int rotation)

Parameters

components int

Number of components.

flipX bool

Flip image in X direction?

flipY bool

Flip image in Y direction?

rotation int

Image rotation.