Updated docs
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
e167783026
commit
9c60212ca8
|
@ -31,7 +31,7 @@ If something seems to be wrong, exceptions will be thrown.
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
Identiconpp identicon(5, 5, Identiconpp::algorithm::ltr_symmetric,
|
Identiconpp identicon(5, 5, Identiconpp::algorithm::ltr_symmetric,
|
||||||
"ffffff88", { "800000ff" });
|
"ffffff80", { "800000ff" }, { 10, 10 });
|
||||||
Magick::Image img;
|
Magick::Image img;
|
||||||
img = identicon.generate("55502f40dc8b7c769880b10874abc9d0", 200);
|
img = identicon.generate("55502f40dc8b7c769880b10874abc9d0", 200);
|
||||||
img.write("identicon.png");
|
img.write("identicon.png");
|
||||||
|
|
|
@ -52,12 +52,12 @@ public:
|
||||||
* image formats and sizes. The colors must consist of exactly 8
|
* image formats and sizes. The colors must consist of exactly 8
|
||||||
* digits.
|
* digits.
|
||||||
*
|
*
|
||||||
* @param rows Number of rows
|
|
||||||
* @param columns Number of columns
|
* @param columns Number of columns
|
||||||
* @param type The type of identicon
|
* @param rows Number of rows
|
||||||
|
* @param type The algorithm to use
|
||||||
* @param background Background color, hexadecimal, rrggbbaa
|
* @param background Background color, hexadecimal, rrggbbaa
|
||||||
* @param foreground vector of foreground colors
|
* @param foreground vector of foreground colors
|
||||||
* @param padding Padding { left & right, top & down }
|
* @param padding Padding in pixels { left & right, top & down }
|
||||||
*/
|
*/
|
||||||
explicit Identiconpp(const uint8_t columns, const uint8_t rows,
|
explicit Identiconpp(const uint8_t columns, const uint8_t rows,
|
||||||
algorithm type = algorithm::ltr_symmetric,
|
algorithm type = algorithm::ltr_symmetric,
|
||||||
|
@ -69,7 +69,7 @@ public:
|
||||||
* @brief Generates identicon from digest.
|
* @brief Generates identicon from digest.
|
||||||
*
|
*
|
||||||
* @param digest The pre-computed digest
|
* @param digest The pre-computed digest
|
||||||
* @param width The width of the image
|
* @param width The width of the image in pixels
|
||||||
*
|
*
|
||||||
* @return The image
|
* @return The image
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue