Commit Graph

65 Commits

Author SHA1 Message Date
tastytea b1e25041d9
Added include dir for BUILD_INTERFACE.
continuous-integration/drone/push Build is passing Details
2019-09-13 18:57:48 +02:00
tastytea 752ebfface
Add include dir to library. 2019-09-13 18:53:05 +02:00
tastytea 2d1bac9c3f
Moved identiconpp.hpp to include/. 2019-09-13 18:48:47 +02:00
tastytea d6c640698c
Modernized CMake recipes and moved files around. 2019-09-13 18:45:30 +02:00
tastytea 4afee87285
Remove C support.
I'm not willing to invest the time to make it good.
2019-09-13 16:45:40 +02:00
tastytea eb493d5c00
Whitesapace cleanup.
continuous-integration/drone/push Build is passing Details
2019-07-30 13:07:45 +02:00
tastytea e5e4524947
Fixed header locations in cmake recipe.
continuous-integration/drone/push Build is passing Details
2019-07-30 12:27:17 +02:00
tastytea 0ca6906cb5
Updated and modularized cmake recipes. 2019-07-30 11:32:57 +02:00
tastytea e6b5de0118
Moved tests. 2019-07-30 11:32:34 +02:00
tastytea 6b1b16304f
Changed padding to not have const uint8_t.
the build was successful Details
2019-02-20 23:02:09 +01:00
tastytea 588ec1b44c
Added tests for C interface
the build was successful Details
2019-01-18 15:55:13 +01:00
tastytea fb6eadd946
Added generate_base64()
the build was successful Details
2019-01-17 20:07:52 +01:00
tastytea d1a8dfd678
Fixed include guards
the build was successful Details
2019-01-07 13:54:37 +01:00
tastytea 7868f42862
Added error reporting for the c interface.
the build was successful Details
2019-01-04 20:37:50 +01:00
tastytea dcf7317573
Enhanced documentation. 2019-01-04 20:35:28 +01:00
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 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 28d08342d3
C-interface: Added more error checking. 2019-01-04 19:10:01 +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 356510adc9
Added include guards. 2019-01-03 08:37:00 +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 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 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 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