2019-01-07

This commit is contained in:
tastytea 2019-01-07 13:57:41 +01:00
parent da6caf701a
commit 47498123af
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -71,7 +71,7 @@ $(function() {
<p>The "sigil" algorithm generates the same results as <a href="https://github.com/cupcake/sigil/">sigil</a> and <a href="https://github.com/azaghal/pydenticon/">pydenticon</a>.</p>
<h3>Example</h3>
<div class="fragment"><div class="line">{C++}</div><div class="line">// Compile with g++ $(Magick++-config --cppflags --ldflags) -lidenticonpp</div><div class="line">#include &lt;identiconpp.hpp&gt;</div><div class="line">#include &lt;Magick++/Image.h&gt;</div><div class="line"></div><div class="line">int main()</div><div class="line">{</div><div class="line"> Identiconpp identicon(5, 5, Identiconpp::algorithm::ltr_symmetric,</div><div class="line"> &quot;ffffff80&quot;, { &quot;800000ff&quot; }, { 10, 10 });</div><div class="line"> Magick::Image img;</div><div class="line"> img = identicon.generate(&quot;55502f40dc8b7c769880b10874abc9d0&quot;, 200);</div><div class="line"> img.write(&quot;identicon.png&quot;);</div><div class="line">}</div></div><!-- fragment --><h3>C interface</h3>
<p>This is somewhat experimental. Have a look at <a href="https://schlomp.space/tastytea/identiconpp/src/branch/master/example.c">example.c</a>.</p>
<p>This is somewhat experimental. Have a look at <a href="https://schlomp.space/tastytea/identiconpp/src/branch/master/example.c">example.c</a> and <a href="https://doc.schlomp.space/identiconpp/identiconpp__c_8h.html">identiconpp_c.h</a>.</p>
<p>It seems to be impossible to use <code>Magick++</code> and <code>MagickWand</code> in the same library, so the images are returned as base64-encoded strings.</p>
<h2>Install</h2>
<h3>Gentoo</h3>
@ -109,7 +109,7 @@ $(function() {
</ul>
<p>To generate a binary package, execute <code>make package</code></p>
<h2>Contributing</h2>
<p>Contributions are always welcome. You can submit them as pull requests or via email to <code>tastytea</code>&lt;tt&gt;tastytea.de.</p>
<p>Contributions are always welcome. You can submit them as pull requests on schlomp.space or via email to <code>tastytea</code>&lt;tt&gt;tastytea.de (ideally using <code>git format-patch</code> or <code>git send-email</code>). Please do not submit them via GitHub, it is just a mirror.</p>
<h2>Contact</h2>
<p>See <a href="https://tastytea.de/">https://tastytea.de/</a></p>
<h2>License &amp; Copyright</h2>