Commit Graph

72 Commits

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