RepositoryPascal
graphics32

graphics32/graphics32

Graphics32 is a high performance graphics library for Delphi and Lazarus. Optimized for 32-bit pixel formats, it provides fast antialiased raster and vector operations.

467stars
139forks
4issues
3views

Graphics32

https://github.com/graphics32/graphics32

Graphics32 is a high-performance graphics library for Delphi and Lazarus/Free Pascal.

Optimized for 32-bit pixel formats, it provides fast operations with pixel, vector, and polygon graphic primitives. The library significantly outperforms GDI, GDI+, and the standard TBitmap and TCanvas classes.

Key Features

  • Performance: High-speed per-pixel access and optimized drawing routines for 32-bit device-independent bitmaps (DIBs).
  • Alpha Blending: Comprehensive support for bitmap alpha blending, including per-pixel alpha channels.
  • Antialiasing: High-quality line and polygon antialiasing with sub-pixel accuracy.
  • Transformations: Support for affine (rotation, scaling), projective, and arbitrary remapping transformations (warping, morphing) with sub-pixel accuracy.
  • Resampling: Bitmap resampling using high-quality reconstruction filters, including Lanczos, Cubic, and Mitchell.
  • Polygon Rendering: A state-of-the-art polygon rasterizer with flexible polygon transformation and custom filling options.
  • Repaint Optimization: Flicker-free image display controls utilizing an advanced MicroTiles-based repaint optimizer.
  • Layers: Multi-layer support with customizable overlay layers.
  • Text: Crystal clear anti-aliased, vector based text rendering with advanced layout.
  • Multithreading: Safe bitmap locking mechanism for multithreaded applications.
  • Backends: Extensible surface-managing backends for cross-platform and framework compatibility.
  • Image formats: Reads, writes, and displays the most common image formats via an extensible format adapter framework; Svg, png, jpg, gif, photoshop psd, bmp, etc.
  • Optimized: Hot spots are implemented in highly optimized SIMD assembler (SSE2, SSE4.1, & AVX2) with optional fallback to plain x86 assembler or pure Pascal.

Supported Platforms and Frameworks

Graphics32 supports a wide range of development environments and platforms:

DelphiLazarus / Free Pascal
Versions supported10.2 and later.
Generally, versions more than 10 years old are not supported.
Generally, only the last few releases are supported.
PlatformsWindows 7 and later, 32- and 64-bit.Windows 7 and later, 32- and 64-bit.
Linux
macOS
FrameworkVCLLCL

Documentation

The documentation for Graphics32 is available online at https://graphics32.github.io.

In addition we have an extensive suite of examples that showcases much of Graphics32's features.

License

This project is dual-licensed under the Mozilla Public License (MPL) 1.1 or the GNU Lesser General Public License (LGPL) 2.1 with linking exception.

SPDX-License-Identifier: MPL-1.1+ OR LGPL-2.1-linking-exception+

Similar Projects

Discover other similar projects and AI models.

RepositoryPascal
joaopauloschuler/neural-api

CAI NEURAL API - Pascal based deep learning neural network API optimized for AVX, AVX2 and AVX512 instruction sets plus OpenCL capable devices including AMD, Intel and NVIDIA.

468
Nov 29, 2026
RepositoryPascal
zamtmn/zcad

Simple CAD program

342
Nov 26, 2026
RepositoryPascal
HashLoad/horse

Fast, opinionated, minimalist web framework for Delphi

1.4k
Nov 9, 2026
RepositoryPascal
castle-engine/castle-engine

Cross-platform (desktop, mobile, console, web) 3D and 2D game engine. Powerful visual editor. Support for glTF, X3D, IFC and more. Fast clean code using modern Pascal. Free and open-source.

1.3k
Nov 26, 2026
RepositoryPascal
viniciussanchez/RESTRequest4Delphi

API to consume REST services written in any programming language with support to Lazarus and Delphi

626
Nov 2, 2026
RepositoryPascal
winddriver/Delphi-Cross-Socket

Delphi cross platform socket library

477
Nov 2, 2026
RepositoryPascal
salvadordf/WebView4Delphi

WebView4Delphi is an open source project created by Salvador Díaz Fau to embed Edge/Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows.

420
Nov 23, 2026
RepositoryPascal
BeRo1985/pasvulkan

Vulkan header generator, OOP-style API wrapper, framework and prospective Vulkan-based game engine for Object Pascal

233
Nov 28, 2026
RepositoryPascal
michaelJustin/daraja-framework

Servlet-style web apps in Object Pascal: a compact HTTP framework for Delphi and Lazarus, built on Indy.

161
Nov 29, 2026