IsValid
Contents
[
Hide
]
IsValid(Stream)
Checks whether specified stream is a valid PNG image
public static bool IsValid(Stream binaryContent)
Parameter | Type | Description |
---|---|---|
binaryContent | Stream | Byte stream, that presumably contains a PNG image |
Return Value
True if specified stream contains valid PNG image, false otherwise
See Also
- class PngImage
- namespace GroupDocs.Editor.HtmlCss.Resources.Images.Raster
- assembly GroupDocs.Editor
IsValid(string)
Checks whether specified base64-encoded string is a valid PNG image
public static bool IsValid(string contentInBase64)
Parameter | Type | Description |
---|---|---|
contentInBase64 | String | Content of the presumably PNG image in a form of base64-encoded string |
Return Value
True if specified string contains valid PNG image, false otherwise
See Also
- class PngImage
- namespace GroupDocs.Editor.HtmlCss.Resources.Images.Raster
- assembly GroupDocs.Editor