wowiconify takes a source input image and number of WoW spell icons and then produces and output image where every pixel from the source input image is approximated by a WoW spell icon.
Sound complicated and confusing? Fear not!
Here's an image, which is supposed to be worth no more and no less than 1000 words.
Click on the image above to view it in high resolution.
This is highly unoptimized and was thrown together in a couple of hours just for funsies as an experiment.
Keep that in mind before you use any of it in a production setting.
$ cc -O3 -lm src/wowiconify.c -o build/wowiconify
$ build/wowiconify out.png test.png spells/*.png
VS 2019 and later.
$ cl /O2 src/wowiconify.c /link /out:build/wowiconify.exe
$ build\wowiconify out.png test.png spells/*.png
- Fork the project.
- Make your feature addition or bug fix.
- Do not bump the version number.
- Create a pull request. Bonus points for topic branches.
Copyright (c) 2021, Mihail Szabolcs
wowiconify is provided as-is under the MIT license. For more information see LICENSE.