From Wikipedia, the free encyclopedia
Developer(s)Grafx2 project team, Sunset Design
Initial release1996; 27 years ago (1996)
Stable release
2.8[1][2] Edit this on Wikidata / 24 March 2021
Written inC with SDL
Operating systemAmigaOS, Android, Atari MiNT, FreeBSD, Genode, Haiku, IRIX, Linux, macOS, Windows, MorphOS, MS-DOS, Syllable Desktop
TypeRaster graphics editor

GrafX2 is a bitmap graphics editor inspired by the Amiga programs Deluxe Paint and Brilliance. It is free software and distributed under the GPL-2.0-only license.


GrafX2 was an MS-DOS program developed by Sunset Design from 1996 to 2001 .[3] It was distributed as freeware, and was one of the most used graphics editor in the demoscene. The development stopped due the lack of time of the developers. So they released the sourcecode under the GPL-2.0-only license.[4]

A Windows port was done by the Eclipse demogroup and presented at the State of the art party in 2004,[5] but the sourcecode for this version does not seem to be available anywhere.

In 2007, a project was started to port the sourcecode from the original MS-DOS version to the Simple DirectMedia Layer library. The goal was to provide a pixel art editing tool for Linux, but SDL also allowed easy ports to many other platforms, including Windows. The project development continued on this new version to add the features missing from the original opensource release and the first Windows port.

Features and specificities[edit]

What made GrafX2 interesting when it was released in 1996 was the ability to display pictures in most of the resolutions available on Amiga. This allowed the use of the program as a picture viewer for PC users. This was done by low level programming of the video card, using X-Modes combined with VESA settings. The SDL port generally runs on platforms which use high resolution screens, so it can use software scaling to emulate low resolutions. The scaling options include several non-square pixels, this allows editing of pictures for displaying on old 16- or 8-bit microcomputers, which have such video modes.

All the versions of the program are designed for drawing in indexed color mode, up to 256 colors. A palette editor allows very precise operations on the image and its palette. These functions are precious for console or mobile game graphics where some specific color indices in the palette are required for special effects: Palette swap, Color cycling, transparent color for sprites.

The user interface is mouse-driven with a toolbar for common tools, and some modal dialog windows. For increased productivity with frequently used functions, an extensive system of keyboard shortcuts is available.

The user can split the editing area in two : normal size on the left, zoomed-in view on the right. Drawing in the zoomed area allows finer mouse control.

The basic drawing concepts are clearly inspired by Deluxe Paint, they involve :

  • a brush : It's one of the built-in monochrome shape, or a piece of colored bitmap grabbed by the user. The brush appears 'stuck' under the mouse cursor, it gives an accurate preview.
  • a tool that pastes the brush on the image at several places : Freehand drawing, straight line, circle, curve, airbrush...
  • optionally, a number of Effects that change the way pixels are drawn: For example, the Shade mode ignores the brush color, it lightens or darkens the picture depending on the mouse button used (and depending on user-defined color ranges). Some of the effects are classic for a 24bit RGB drawing program (Transparency, Smoothing, Smearing), but their effectiveness in GrafX2 is limited according to the colors pre-defined in the palette.

The SDL port currently runs on a lot of computer systems, tested on common systems such as Linux, FreeBSD, Windows, MacOS, and on less common ones such as AmigaOS 3.x on 68k, AmigaOS 4.0 on PPC, BeOS and Haiku, MorphOS on PPC, AROS on x86, SkyOS, Atari MiNT on Atari Falcon030 and Atari TT. It is even ported on the Handheld game console GP2X, and the Windows version can be used on MS-DOS thru HX DOS Extender.

Relation to the demoscene[edit]

The first release of GrafX2 was done at the Wired 96 demoparty. The tool was primarily made for demomakers. This explains the presence of features specific to old computers, because demosceners often use this kind of hardware. Today, the program is mostly used for Pixel art, not necessarily in relation to demos or to old and limited hardware.

Supported file formats[edit]

See also[edit]


  1. ^
  2. ^
  3. ^ "Interview with X-Man (in 1999), original author".
  4. ^ "Sourcecode relicensing announcement as published in 2001 by the original authors". Archived from the original on December 13, 2007.
  5. ^ "Grafx2 win32 on".

External links[edit]