Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found
here.
If the API is already migrated you can check here if exists in a module.
More information regarding the migration can be found here
OBSOLETE
This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.
ImageUri
Represents the URI to an image (either a normal URI or a DataUri)
Union Cases
Union Case | Description |
DataUri(string)
Signature: string
|
A Data uri of the image encoded as Base64 data |
ImageUrl(Uri)
Signature: Uri
|
A simple URI of the image |
Instance members
Instance member | Description |
x.WriteJson(writer)
Signature: writer:JsonWriter -> JsonWriter
Attributes: [<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>] |
OBSOLETEThis API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module. Writes the image uri to a JSON writer |
Static members
Static member | Description |
ImageUri.FromFile(fileName)
Signature: fileName:string -> ImageUri option
Attributes: [<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>] |
OBSOLETEThis API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module. Creates a new DataUri from a given file png, gif, jpg and bmp files are supported |
ImageUri.FromUrl(url)
Signature: url:string -> ImageUri
Attributes: [<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>] |
OBSOLETEThis API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module. Creates a new ImageUrl from a given url string |