IsValid
Leave feedback
On this page
Checks whether specified stream is a valid JPEG image
public static bool IsValid(Stream binaryContent)
| Parameter | Type | Description |
|---|---|---|
| binaryContent | Stream | Byte stream, that presumably contains a JPEG image |
True if specified stream contains valid JPEG image, false otherwise
- class JpegImage
- namespace GroupDocs.Editor.HtmlCss.Resources.Images.Raster
- assembly GroupDocs.Editor
Checks whether specified base64-encoded string is a valid JPEG image
public static bool IsValid(string contentInBase64)
| Parameter | Type | Description |
|---|---|---|
| contentInBase64 | String | Content of the presumably JPEG image in a form of base64-encoded string |
True if specified string contains valid JPEG image, false otherwise
- class JpegImage
- namespace GroupDocs.Editor.HtmlCss.Resources.Images.Raster
- assembly GroupDocs.Editor
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.