Class: Blurry

Blurry(options)

Blurry base64 image Url and SVG image generator.

Constructor

new Blurry(options)

Parameters:
Name Type Description
options object The blurify options.
Properties
Name Type Description
file string The image file to blurify.
type string The image type to blurify.
width number The image width to blurify.
height number The image height to blurify.
template string The SVG Template file to use for blurify.
Source:

Methods

(static) getSvg() → {string}

Get blurry SVG Image.
Source:
Returns:
The SVG Image.
Type
string

(static) getUrl() → {string}

Get blurry base64 SVG Url.
Source:
Returns:
The base64 SVG Url.
Type
string

(static) makeBase64File() → {string}

Make blurry base64 File.
Source:
Returns:
The base64 File.
Type
string

(static) makeBase64FileUrl() → {string}

Make blurry base64 File Url.
Source:
Returns:
The base64 File Url.
Type
string

(static) makeBase64Svg() → {string}

Make blurry base64 Svg.
Source:
Returns:
The base64 Svg.
Type
string

(static) makeBase64SvgUrl() → {string}

Make blurry base64 Svg Url.
Source:
Returns:
The base64 Svg Url.
Type
string

(static) makeTemplate() → {string}

Make blurry Template.
Source:
Returns:
The Template.
Type
string