Commit Graph

120 Commits

Author SHA1 Message Date
tastytea 8bb322edb9
Use friend class instead of protected members.
the build was successful Details
The reference got cluttered after I changed the private members to
protected.
2019-01-04 20:07:11 +01:00
tastytea 455eba820b
Initialize some variables.
They would have never been left unitialized, but the compiler didn't
know that.
2019-01-04 20:06:00 +01:00
tastytea ccbdb5c582
Added C interface to readme
the build was successful Details
2019-01-04 19:37:51 +01:00
tastytea 5be366f3cb
Added documentation to identiconpp_base64(). 2019-01-04 19:13:38 +01:00
tastytea da2b64b159
Merge branch 'c-interface' 2019-01-04 19:11:10 +01:00
tastytea 7cd528bea1
Added C-header to install recipe. 2019-01-04 19:10:59 +01:00
tastytea 28d08342d3
C-interface: Added more error checking. 2019-01-04 19:10:01 +01:00
tastytea cef436faf5
C-interface: Added example 2019-01-04 19:00:16 +01:00
tastytea 7c8a88bc6b
typo 2019-01-04 18:10:02 +01:00
tastytea 7d89f416e8
C-interface: return images as base64.
the build was successful Details
I couldn't figure out how to return them as MagickWand, maybe I can't
mix Magick++ with MagickWand.
2019-01-04 17:36:10 +01:00
tastytea 988eaf406c
Started C interface. 2019-01-03 13:28:53 +01:00
tastytea 91575c7775
Removed unnecessary includes 2019-01-03 10:16:38 +01:00
tastytea edaae3906b
typo 2019-01-03 10:07:46 +01:00
tastytea 356510adc9
Added include guards. 2019-01-03 08:37:00 +01:00
tastytea 9d784d18b1
Changed example, generated example images using example.
the build was successful Details
2019-01-03 08:20:36 +01:00
tastytea 6c8e8f336d
Added tests for not_hex().
the build was successful Details
2019-01-02 17:36:53 +01:00
tastytea 6e7bfed912
Added tests for check_entropy 2019-01-02 16:43:13 +01:00
tastytea 97ced01ffa
Added tags 2019-01-02 15:48:18 +01:00
tastytea 55de144050
Added color format tests.
the build was successful Details
2019-01-02 11:21:54 +01:00
tastytea 86e865edfe
Allow uppercase hex digits. 2019-01-02 11:18:43 +01:00
tastytea 04b7a3afd0
Added check for at least one foreground color. 2019-01-02 11:16:39 +01:00
tastytea 4b198ccd58
Added crash / don't crash tests.
the build was successful Details
2019-01-02 10:30:26 +01:00
tastytea ddd55f6221
Added color-size check to sigil algorithm. 2019-01-02 10:29:27 +01:00
tastytea 4e5397a2a2
Added color tests 2019-01-02 09:29:46 +01:00
tastytea dbb15bee87
Refined test compilation 2019-01-02 09:01:32 +01:00
tastytea a09bd56a2f
typo
the build was successful Details
2019-01-02 06:57:46 +01:00
tastytea ffff29d087
clarify that catch is for tests
the build was successful Details
2019-01-02 06:33:43 +01:00
tastytea 3faff570a2
If Catch 2 and Catch 1 is not found, then abort.
the build failed Details
2019-01-02 06:31:50 +01:00
tastytea a72149221a
Fixed CI recipe, confirmed support for Catch < 2
the build was successful Details
2019-01-02 06:18:36 +01:00
tastytea 3c879d6eb4
CI: Loop through tests
the build failed Details
2019-01-02 06:09:44 +01:00
tastytea e568a64129
Bugfix: Background color was always transparent with older imagemagick
the build was successful Details
versions
2019-01-02 06:01:16 +01:00
tastytea b0c0e0ef09
Added compatibility for Catch < 2, hopefully.
the build failed Details
2019-01-01 17:57:34 +01:00
tastytea 0e3d1e4691
Enabled tests in CI.
the build failed Details
2019-01-01 16:51:41 +01:00
tastytea 903de5f906
Added first tests.
the build was successful Details
2019-01-01 16:46:17 +01:00
tastytea b518d5ed12
Fixed entropy calculation for sigil. 2019-01-01 16:40:34 +01:00
tastytea 2fb09294e4
Added example to HTML reference.
the build was successful Details
2018-12-28 02:38:25 +01:00
tastytea dc6e32fbf9
Improved documentation, added images.
the build was successful Details
2018-12-28 02:02:26 +01:00
tastytea 211b0ba7b4
Fixed error: Would crash often if only one foreground color.
the build was successful Details
2018-12-28 01:42:22 +01:00
tastytea f891679884
Fixed algorithm descriptions in readme.
the build was successful Details
2018-12-27 23:23:24 +01:00
tastytea 35a1cc2233
Throw exception if width or height - padding * 2 is 0 or less.
the build was successful Details
2018-12-27 23:18:06 +01:00
tastytea 0425ee3fec
Corrected height calculation, floored log2-output explicitly.
the build was successful Details
2018-12-27 22:28:53 +01:00
tastytea 36dd2b7e5a
Corrected the "how many bits do i need for n colors"-algorithm.
the build was successful Details
2018-12-27 21:56:50 +01:00
tastytea 42e7fd9a18
Removed png as default mode.
the build was successful Details
Image format is now selected by file extension or magick().
2018-12-27 06:50:48 +01:00
tastytea 9c60212ca8
Updated docs
the build was successful Details
2018-12-27 06:40:38 +01:00
tastytea e167783026
Added some breaks, oops! :-)
the build was successful Details
2018-12-27 06:18:14 +01:00
tastytea c5aa9da086
Added padding 2018-12-27 06:14:26 +01:00
tastytea f14554f38f
Added asymmetric identicons. 2018-12-27 05:24:08 +01:00
tastytea a162965afe
Simplified get_bit() and added comments for non-obvios things.
the build was successful Details
get_bit() is probably slightly faster too.
2018-12-27 02:26:01 +01:00
tastytea 491aa98697
Added padding to missing feature list.
the build was successful Details
2018-12-27 00:45:04 +01:00
tastytea c96df63046
Explained algorithms
the build was successful Details
2018-12-26 23:55:46 +01:00