Appearance
IsBase64Image Method
Definition
- Namespace:
JASE.Extensions - Assembly:
JASE.Media.dll
Overloads
| Name | Description |
|---|---|
bool IsBase64Image(string input) | Checks if the string content is valid Base64 and is detected to contain an image. |
bool IsBase64Image(string input, out ImageFormat format) | Checks if the string content is valid Base64 and is detected to contain an image. |
bool IsBase64Image(string input)
csharp
bool IsBase64Image(string input)Checks if the string content is valid Base64 and is detected to contain an image.
Returns
Boolean true if input string appears to be a Base64 encoded image, otherwise false
bool IsBase64Image(string input, out ImageFormat format)
csharp
bool IsBase64Image(string input, out ImageFormat format)Checks if the string content is valid Base64 and is detected to contain an image.
Parameters
| Name | Description |
|---|---|
format | Output of the detected image type |
input | string value to process |
Returns
Boolean true if input string appears to be a Base64 encoded image, otherwise false