Pixel-art scaling algorithms
Upscaling filters for pixel art graphics / From Wikipedia, the free encyclopedia
Pixel art scaling algorithms are graphical filters that attempt to enhance the appearance of hand-drawn 2D pixel art graphics. These algorithms are a form of automatic image enhancement. Pixel art scaling algorithms employ methods significantly different than the common methods of image rescaling, which have the goal of preserving the appearance of images.
As pixel art graphics are commonly used at very low resolutions, they employ careful colorings of individual pixels. This results in graphics that rely on a high amount of stylized visual cues to define complex shapes. A number of specialized algorithms[1] have been developed to handle re-scaling of such graphics.
While the specialized algorithms may improve the appearance of pixel-art graphics, they are also changing the appearance of the graphics. Such a consequence is undesirable in many situations, especially if the goal is to faithfully reproduce the original appearance.
Since a typical application of this technology is improving the appearance of fourth-generation and earlier video games on arcade and console emulators, many pixel art scaling algorithms are designed to run in real time for sufficiently small input images at 60-frames per second. This places constraints on the type of programming techniques that can be used for this sort of real-time processing.[citation needed] Many work only on specific scale factors, with 2× being the most commonly used and 3×, 4×, 5×, and 6× less used.