Skip to content

WoWiconify any image in an instant!

License

Notifications You must be signed in to change notification settings

icebreaker/wowiconify

Repository files navigation

wowiconify

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.

Input Image

Output Image

Click on the image above to view it in high resolution.

Getting Started

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.

Linux/macOS

$ cc -O3 -lm src/wowiconify.c -o build/wowiconify
$ build/wowiconify out.png test.png spells/*.png

Windows

VS 2019 and later.

$ cl /O2 src/wowiconify.c /link /out:build/wowiconify.exe
$ build\wowiconify out.png test.png spells/*.png

Credits

Contribute

  • 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.

License

Copyright (c) 2021, Mihail Szabolcs

wowiconify is provided as-is under the MIT license. For more information see LICENSE.