HeifContextWriteToFile Method

Writes this instance to the specified file.

Definition

Namespace: LibHeifSharp
Assembly: LibHeifSharp (in LibHeifSharp.dll) Version: 3.2.0
C#
public void WriteToFile(
	string path
)

Parameters

path  String
The file path.

Exceptions

ArgumentNullExceptionpath is null.
ArgumentExceptionpath is empty, contains only whitespace or contains invalid characters.
HeifExceptionA LibHeif error occurred.
IOExceptionAn I/O error occurred.
ObjectDisposedExceptionThe object has been disposed.
SecurityExceptionThe caller does not have the required permission.
UnauthorizedAccessException The access requested is not permitted by the operating system for the specified path.

See Also