## Introduction

The egd module is an interface for 2d-image rendering and is used by Percept to generate dynamic graphs to its web pages. All code is pure erlang, no drivers needed.

The library is intended for small to medium image sizes with low complexity for optimal performance. The library handles horizontal lines better then vertical lines.

The foremost purpose for this module is to enable users to generate images from erlang code and/or datasets and to send these images to either files or web servers.

## File example

Drawing examples:

First save.

test1.png

Second save.

test2.png

Third save.

test3.png

Fourth save.

test4.png

## ESI example

Using egd with inets ESI to generate images on the fly:

Example of result.

For more information regarding ESI, please see inets application mod_esi.