From Free Software Directory
Jump to: navigation, search


3x magnification filter

'hq3x' is a fast, high-quality 3x magnification filter. It was designed for use images with clear sharp edges, like line graphics or cartoon sprites, and to be fast enough to process 256x256 images in real-time. It sorts each pixel as 'close' or distant' depending on it relationship with its neighbors. This is then filtered through a lookup table with 256 entries, one for each combination of close/distant colored neighbors. Each entry describes how to mix the colors of the source pixels from the 3x3 area to get interpolated pixels of the filtered image. For each combination a vector representation is created and rasterised with higher (3x) resolution using anti-aliasing, and the result is stored in a lookup table.

Related Projects

  • Scale2x


LicenseVerified byVerified onNotes
License:GPLv2orlaterJanet Casey29 January 2004

Leaders and contributors

Maxim Stepin Maintainer

Resources and communication

AudienceResource typeURI
Bug Tracking,Developer,SupportE-mailmailto:maxim@hiend3d.com

Software prerequisites

This entry (in part or in whole) was last reviewed on 29 January 2004.


Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.