An open API service indexing awesome lists of open source software.

https://github.com/denisahac/dynamic-images

Javascript dynamic <img> source generator using HTML5 Canvas API.
https://github.com/denisahac/dynamic-images

es6 javascript javascript-library javascript-plugin javascript-tools javascript-utility

Last synced: 8 days ago
JSON representation

Javascript dynamic <img> source generator using HTML5 Canvas API.

Awesome Lists containing this project

README

          

# Image Source Generator

A Javascript utility for generating an `` source . It uses the HTML5 Canvas API to generate the image BLOB.

## Screenshot

![Dynamic Images](screenshot.png)

## Installation

Using **bower**

```bash
bower install --save-dev dynamic-images
```

## Usage

```html





```

```html

```

```html

new DynamicImages({
width: 200,
height: 200
});

```

## Options

When not specified the default value is used.

* `width` defaults to `150px`
* `height` defaults to `150px`
* `background` defaults to `#ccc`

## License

[GNU](https://www.gnu.org/licenses/gpl-3.0.en.html)