Closed Ricardonacif closed 10 years ago
I've added the profile image generator to the code. To use it, simply pass a hash like this to the constructor:
user = { name: 'Username', const_win_rate: "32.2%", arena_win_rate: "69%", ranking: 25, legend: true } image = ProfileImage.new(user).image
In order to see the image, simply do:
image.write('test.png')
I've added the profile image generator to the code. To use it, simply pass a hash like this to the constructor:
In order to see the image, simply do: