Added C interface to readme
the build was successful Details

This commit is contained in:
tastytea 2019-01-04 19:37:51 +01:00
parent 5be366f3cb
commit ccbdb5c582
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 9 additions and 1 deletions

View File

@ -1,4 +1,4 @@
**identiconpp** is a library to generate identicons for C++.
**identiconpp** is a library to generate identicons for C++ and C.
You get the images as `Magick::Image`. This allows you to make all kinds of
modifications.
@ -54,6 +54,14 @@ int main()
}
```
### C interface
This is somewhat experimental. Have a look at [example.c]
(https://schlomp.space/tastytea/identiconpp/src/branch/master/example.c).
It seems to be impossible to use `Magick++` and `MagickWand` in the same
library, so the images are returned as base64-encoded strings.
## Install
### Gentoo