VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Webp Namespace / WebpFile Class / IsValidFormat(Stream) Method
Syntax Requirements SeeAlso
In This Topic
IsValidFormat(Stream) Method (WebpFile)
In This Topic
Determines that stream contains WEBP file.
Syntax
'Declaration

Public Shared Function IsValidFormat( _
ByVal stream
Stream with binary data of the WEBP file.
As System.IO.Stream _
) As Boolean
public static bool IsValidFormat(
System.IO.Stream stream
)

Parameters

stream
Stream with binary data of the WEBP file.

Return Value

true if stream contains WEBP file; otherwise, false.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6

See Also