An open API service indexing awesome lists of open source software.

https://github.com/bernhardfritz/hqx

hqx is a fast, high-quality magnification filter designed for pixel art.
https://github.com/bernhardfritz/hqx

pixel-art

Last synced: 28 days ago
JSON representation

hqx is a fast, high-quality magnification filter designed for pixel art.

Awesome Lists containing this project

README

        

# hqx

## Description

hqx ("hq" stands for "high quality" and "x" stands for magnification) is one of the pixel art scaling algorithms developed by Maxim Stepin, used in emulators such as Nestopia, bsnes, ZSNES, Snes9x, FCE Ultra and many more. There are 3 hqx filters: hq2x, hq3x and hq4x which magnify by factor of 2, 3 and 4 respectively.

## Installation

```bash
git clone --recursive https://github.com/bernhardfritz/hqx.git
cd hqx
mkdir build
cd build
cmake ..
make
make install
```

## Usage

```
hqx [-s scaleBy] input output
```
## Example

```bash
hqx -s 4 test.png output.png
```

![test.png](test.png)

![output.png](output.png)

## References

* https://code.google.com/archive/p/hqx/