Michael Van Canneyt napsal(a):

On Sun, 1 Oct 2006, Tom Gregorovic wrote:

Hi,
I have created new package for Lazarus: LazRGBGraphics.
LazRGBGraphics is run-time package for fast in memory image processing
and pixel manipulations (like scan line). This package was designed for
cross-platform usage. The main class is TRGB32Bitmap which is anolog to
TBitmap.

TRGB32Bitmap features:

   * load from file, save to file
   * creating from TBitmap
   * drawing and stretchdrawing to TCanvas
   * rotating, stretching
   * inverting colors
   * drawing primitives via canvas (TRGB32Canvas) with emphasis on
     accuracy
   * per pixel manipulation via GetPixelPtr

What is the advantage of this compared to the TFPImage on which
lazarus is based ?
The main advantage is direct memory access to bitmap pixels with keeping ability to draw bitmap onto canvas without any widgetset time consuming memory format converting (via StretchDIBits under Win32 and gdk_draw_rgb_32_image under gtk). That's the main reason, why I have developed it. Unfortunately I forgot to mention it on the wiki.

Next, the canvas pirmitive drawing is aimed to give the same result across various platforms.

Thanks for your feedback,
   Tom Gregorovic

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to