g2 is an easy to use, portable and powerful 2D graphics library. It provides a comprehensive set of functions for simultaneous generation of graphical output on different types of devices. The following devices are currently supported: Postscript, X11, FIG (xfig), PNG, and JPEG using the gd library, and Win32. g2 is written in C (ANSI) and additionally has Fortran, Perl, and Python interfaces.

Operating Systems

Recent releases

  •  17 Oct 2006 20:28

    Release Notes: The Python module build process has been fixed.

    •  13 Oct 2006 07:42

      Release Notes: Python support and various fixes were added.

      •  15 Jun 2005 02:24

        Release Notes: This release adds support for accessing low level physical device handles and bugfixes.

        •  09 Apr 2004 12:30

          Release Notes: This release fixes some ANSI C incompatibilities.

          •  06 Apr 2004 15:15

            Release Notes: This release adds FIG format support (xfig) and Win32 mouse support. Regression testing is improved (g2_test) and some bugs have been fixed.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.