Graphics libraries

From Free Pascal wiki
Jump to: navigation, search
Name Developers Platforms License Raster Vectors 3D Supported File Formats Color formats or framework
Lazarus TCanvas Lazarus developers All supported by the LCL Modified LGPL Yes No No BMP, ICO, ICNS, PNG, JPEG, GIF, etc Represents the native canvas of the widgetset
Lazarus TLazCanvas+TLazIntfImage Lazarus developers All supported by the LCL Modified LGPL Yes No No Only via fcl-image Supports almost any pixel format. Cannot render to the screen directly, but instead is utilized in connection with something that can, like TCanvas or LCL-CustomDrawn
AggPas Milano Windows, Linux, Mac OS Custom Yes Yes No BMP, SVG, Flash (TXT), True Type Font 8-bit grayscale, 15-bit, 16-bit, 24-bit RGB and 32-bit RGB with alpha
Allegro Guillermo Martínez Jiménez for Pascal wraper Windows and Linux. It may work on MacOS X and Android as well. Custom (Version 4 and previous) or zlib/libpng License (version 5 and up) Yes No Yes BMP, LBM, PCX, TGA (and MIDI, VOC, WAV audio). Version 5 adds JPEG, PNG, (FLAC, OGG, opus, IT, MOD, S3M, XM audio). 8, 15, 16, 24 and 32 bit RGB with alpha
Andorra 2D Team Windows and Linux Common Public License, GNU GPL Yes No No BMP, PNG, TGA DirectX and OpenGL
Castle Game Engine Michalis Kamburelis Very portable (desktop: Windows, Linux, MacOSX, FreeBSD, ..., mobile: Android, iOS) Modified LGPL Yes No Yes Common: PNG, JPEG, GIF, TGA, XPM, PSD, PCX, PNM, BMP (some supported using fcl-image). Special: DDS (for GPU textures), RGBE (simple HDR). And some more. And there are a lot of 3D/animation formats supported too :) OpenGL, OpenGL ES 2
BGRABitmap Circular Win32, Win64, Linux (Gtk & Qt), Mac OS (Carbon) Modified LGPL Yes Yes Yes read-write: BMP, JPEG, PNG, static GIF, PCX, LZP, ORA, OXO, TGA, TIFF, XWD, XPM; read-only: PDN, PSD, ICO, animated GIF 32 bit BGRA, Canvas2d (like HTML5), CanvasBGRA (like TCanvas), OpenGL, ZenGL
fcl-image Team All platforms Modified LGPL Yes No No BMP, JPG, PCX, PNG, TGA Various formats up to 64-bit RGBA
fpVectorial Yes Yes Yes PDF, Corel Draw, SVG, DXF Supports raster images placed inside the vectorial document. Supports documents with multiple pages.
Graphics32 Team Graphics32  Win32 and OS X MPL and LGPL Yes No No BMP, JPG, WMF, EMF 32-bit RGBA
LazRGBGraphics Abandoned (formerly Tom Gregorovic) Modified LGPL Yes No No 8-bit grayscale and 32 bit RGB without alpha
Vampyre Imaging Library Marek Mauder Windows x86/AMD64, Linux x86/AMD64, FreeBSD x86/AMD64, Mac OS X on Intel Mozilla Public License, GNU LGPL Yes No No BMP, JPEG, PNG/APNG, GIF, DDS, TGA, MNG, JNG, JPEG2000, TIFF, PSD, PBM, PGM, PPM, PAM, PFM, PCX, XPM, and more 8, 16, 24, 32, 48 and 64 bit RGB and ARGB formats, indexed formats, grayscale formats, floating point formats (IEEE754 and half precision), compressed formats like DXT1/3/5, 3Dc, and BTC
ZenGL Andru GNU/Linux i386/x86_64, Windows i386/x86_64, MacOS X i386/PowerPC, iOS, Android 2.1+ zlib Yes No No JPG, PNG, TGA OpenGL, OpenGL ES 1.x, Direct3D