HeifImageAddPlane Method

Adds a plane to the image.

Definition

Namespace: LibHeifSharp
Assembly: LibHeifSharp (in LibHeifSharp.dll) Version: 3.2.0
C#
public void AddPlane(
	HeifChannel channel,
	int width,
	int height,
	int bitDepth
)

Parameters

channel  HeifChannel
The channel.
width  Int32
The width.
height  Int32
The height.
bitDepth  Int32
The bit depth.

Exceptions

ArgumentOutOfRangeExceptionwidth is less than or equal to zero. -or- height is less than or equal to zero. -or- bitDepth is less than or equal to zero.
HeifExceptionA LibHeif error occurred.
ObjectDisposedExceptionThe object has been disposed.

See Also