Commit Graph

23 Commits

Author SHA1 Message Date
04b7a3afd0
Added check for at least one foreground color. 2019-01-02 11:16:39 +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
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
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
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
43865a6b4e
Renamed: simple -> ltr_symmetric; libravatar -> sigil; identicon_type -> algorithm
All checks were successful
the build was successful
2018-12-26 23:06:51 +01:00
55457923d0
Stopped counting the bits from the wrong side. 🤦 2018-12-26 22:46:12 +01:00
eaffd0b005
libravatar/sigil algorithm, first try 2018-12-26 22:16:11 +01:00
c400d671a4
Refactored
All checks were successful
the build was successful
2018-12-26 18:52:27 +01:00
302b8adb8b
Throw error if libravatar-style is selected (not implemented).
All checks were successful
the build was successful
2018-12-26 18:32:37 +01:00
9367ce7ce7
Removed leftover bits, made background in initializer a reference.
All checks were successful
the build was successful
2018-12-26 05:20:41 +01:00
4201830e43
Added more checks for colors.
All checks were successful
the build was successful
2018-12-26 04:55:18 +01:00
024fd4eb79
Refactored
All checks were successful
the build was successful
2018-12-26 04:36:58 +01:00
80b2a59c9f
OK, it works.
All checks were successful
the build was successful
2018-12-26 03:26:53 +01:00
c94fc018eb
Prepared functions for simple and libravatar-style identicons. 2018-12-25 23:05:01 +01:00
aaece0eabc
Changed colors from string to uint32. 2018-12-25 22:17:17 +01:00
062e435d8c
Initial commit
Some checks failed
the build failed
2018-12-25 21:26:51 +01:00