1.0.0 • Published 7 years ago
colored-icon-creator v1.0.0
colored-icon-creator
nodejs api to create colored icons from the original icon
Usage
Creating a colored icon by calling create method passing the filename of the icon, the ouput file name and color to be applied
ColoredIconCreator.create(fileName,outputFile,color)
Demo
input image
output image to apply red color
Note
Icon image must be a png which must have a transparent background
use path.join(__dirname,fileName) as the fileName in the create function. You have to use the complete path of the image
1.0.0
7 years ago