The padding value passed to toSvg() seems to "scale" the image rather than add a padding border around the image.
The output from calling Jdenticon.toSvg("Alice", 100):
The output from calling Jdenticon.toSvg("Alice", 100, 1.5f):
I haven't investigated anything yet. I did notice that the API for the javascript lib has a whole set of options that can be passed, and not just padding. Could just fix the padding issue, or could try to bring parity to the APIs.
The padding value passed to
toSvg()
seems to "scale" the image rather than add a padding border around the image.The output from calling
Jdenticon.toSvg("Alice", 100)
:The output from calling
Jdenticon.toSvg("Alice", 100, 1.5f)
:I haven't investigated anything yet. I did notice that the API for the javascript lib has a whole set of options that can be passed, and not just padding. Could just fix the padding issue, or could try to bring parity to the APIs.