From ccbdb5c58256d1375ed0e236aba47651027b8139 Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 4 Jan 2019 19:37:51 +0100 Subject: [PATCH] Added C interface to readme --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index decbbaa..509085a 100644 --- a/README.md +++ b/README.md @@ -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