Difference between revisions of "LazRGBGraphics"

From Lazarus wiki
Jump to navigationJump to search
Line 9: Line 9:
 
* inverting colors
 
* inverting colors
 
* drawing primitives via canvas (TRGB32Canvas)
 
* drawing primitives via canvas (TRGB32Canvas)
 +
* per pixel manipulation via GetPixelPtr
  
 
The download contains the package and simple example application.
 
The download contains the package and simple example application.

Revision as of 13:49, 1 October 2006

About

LazRGBGraphics is run-time package for fast in memory image processing and pixel manipulations (like scan line). The main class is TRGB32Bitmap which is anolog to TBitmap.

TRGB32Bitmap features:

  • load from file, save to file
  • create from TBitmap
  • drawing and stretchdrawing to TCanvas
  • rotating, stretching
  • inverting colors
  • drawing primitives via canvas (TRGB32Canvas)
  • per pixel manipulation via GetPixelPtr

The download contains the package and simple example application.

This package was designed for cross-platform usage.

Sceenshots

Example application Drawing primitives

Author

Tom Gregorovic

License

Modified LGPL

Download

LazRGBGraphics on the Lazarus CCR at SourceForge.net

Change Log

  • Version 0.1

TODO:

  • halftone stretching 0.2
  • polygons 0.2
  • masking 0.2
  • alpha blending 0.3

Notes

Status: Alpha

Issues:

  • Tested on Windows XP.
  • Tested with gtk1 and gtk2 under Linux (Kubuntu 6.06).

Installation

Add LazRGBGraphics package as dependancy to the project and RGBGraphics to the uses section.