/python-superxBR

A standalone python application for scaling pixel art using Hyllian's Super-xBR algorithm

Primary LanguagePythonMIT LicenseMIT

python-superxBR

A python application for integer scaling pixel art to higher resolutions using Hyllian's Super-xBR algorithm.

Adapted from Hyllian's C++ version of Super-xBR - https://pastebin.com/cbH8ZQQT

Execution

From the command line:

python py-superxbr.py input.png output.png 2

From another Python script:

import python-superxbr python-xbr.scale(input.png, output.png, 2)

Examples

Original image Scaled 2x (same size)
Original image Scaled 2x (full size)

License

This project is licensed under the MIT License. See LICENSE.md for more detail.

Acknowledgments

Hyllian for their Super-xBR algorithm and reference PDF/C++ code.

GIMP-superxBR, a plug-in for GIMP which was the basis for this application. By abelbriggs1