FAKE - F# Make


ImageUri

Represents the URI to an image (either a normal URI or a DataUri)

Union Cases

Union CaseDescription
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 memberDescription
WriteJson(writer)
Signature: writer:JsonWriter -> JsonWriter

Writes the image uri to a JSON writer

Static members

Static memberDescription
FromFile(fileName)
Signature: fileName:string -> ImageUri option

Creates a new DataUri from a given file png, gif, jpg and bmp files are supported

FromUrl(url)
Signature: url:string -> ImageUri

Creates a new ImageUrl from a given url string

Fork me on GitHub