### Libcaptcha

> Highly customizable `captcha` making library.

### Features

  - TTF font support
  - UTF-8 support, you can use any glyph
  - An easy API (I suppose)
  - Zero dependencies
  - Entirely written in `C`

### How to install

It is as simple as

```
./configure
make
make install
```

### How to use

Check out [examples](examples/)

Get familiar with general concept. [example1.c](examples/example1.c)

![example1](examples/example1.png)

How to make a random sized glyphs. [example2.c](examples/example2.c)

![example2](examples/example2.png)

Apply random positions for glyphs. [example3.c](examples/example3.c)

![example3](examples/example3.png)

Get familiar with patterns made from png images. [example4.c](examples/example4.c)

![example4](examples/example4.png)

Patterns, patterns everywhere. [example5.c](examples/example5.c)

![example5](examples/example5.png)

Some crazy stuff. [example6.c](examples/example6.c)

![example6](examples/example6.png)

Don't forget to use `lc_free()` to free all the stuff `libcaptcha` returns to 
you.

I've noticed that it is very easy to get lost sometimes, just use `valgrind`.

### License

GPLv2
