Initializes a new instance of the
HeifImage class.
Namespace: LibHeifSharpAssembly: LibHeifSharp (in LibHeifSharp.dll) Version: 2.3.0
Syntaxpublic HeifImage(
int width,
int height,
HeifColorspace colorspace,
HeifChroma chroma
)
Public Sub New (
width As Integer,
height As Integer,
colorspace As HeifColorspace,
chroma As HeifChroma
)
public:
HeifImage(
int width,
int height,
HeifColorspace colorspace,
HeifChroma chroma
)
new :
width : int *
height : int *
colorspace : HeifColorspace *
chroma : HeifChroma -> HeifImageParameters
- width Int32
- The width.
- height Int32
- The height.
- colorspace HeifColorspace
- The color space.
- chroma HeifChroma
- The chroma.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException | width is less than or equal to zero.
-or-
height is less than or equal to zero.
|
| HeifException |
A LibHeif error occurred.
-or-
The LibHeif version is not supported.
|
See Also