A tool for building World of Warcraft guild emblems using node-canvas.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Go to file
Devin Leaman 920ccf38c2
Merge pull request #5 from TeamJeeves/dependabot/npm_and_yarn/handlebars-4.7.2
Bump handlebars from 4.2.0 to 4.7.2
3 years ago
examples Updated colors in examples 5 years ago
img First code commit 6 years ago
tests Added a CacheManager for previously requested images 5 years ago
util Updating jest config to include jest-junit 4 years ago
.gitignore Fix for a bug Deadly found 5 years ago
.npmignore Adding .npmignore and readding package-lock. 4 years ago
LICENSE.md Initial commit 6 years ago
README.md Updating README 4 years ago
index.js Updated dependencies 5 years ago
package-lock.json Bump handlebars from 4.2.0 to 4.7.2 3 years ago
package.json 1.5.6 4 years ago

README.md

Build status Dependencies Status devDependencies Status

Standard-Js GitHub license

Guild-Emblem-Generator

The Guild-Emblem-Generator is a tool written in Node.js to convert emblem and guild objects obtained via the Battle.net API into actual images. You can convert the object into a buffer or a Canvas.

Usage

You can use the emblem generator a few different ways. As of 1.2.0, the helper classes have been exported as part of the module in case you wish to expand on the basic methods that are exported by default.

For examples on how to use the base module, take a look in the examples folder where we have a file for each of the exported methods.

SaveEmblemToFile options

The options for the saveEmblemToFile() method are the same options available to the fs.writeFile() method that is present in node by default. For more information, please see the node.js documentation on the method.