loweisz / generate-avatar

Generate your 100% fingerprinted example avatar from id, email, username etc.

Home Page:https://generate-avatar.now.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make size adjustable

loweisz opened this issue · comments

Current situation

Currently the avatars have a fixed size of 300 x 300, which is not editable, neither on the example page nor directly via the function

Desirable behavior

Even though it's svg and somehow easy to scale, it would be nice to have this size flexible.

Idea for implementation

Maybe an optional parameter for the function 'generateFromString'.

generateFromString("example@test.com", 450)