On Mon, 03 Apr 2006 11:46:04 +0200
Tomas Gregorovic <[EMAIL PROTECTED]> wrote:
>[...]
> >Thanks. The bitmap is loaded transparent.
> >I could not test the := Image1.Picture.Bitmap.Canvas.Pixels[X, Y];, as
> >this does is not yet implemented under gtk1 interface.
> >You want to switch the transparentcolor, when the image is already
> >loaded, right?
> >I implemented that.
> >
> >
> >
> Aboslutely right.
> It works but there is a problem with xpm images - when you set some
> transparent color, strange stripes appear (see screenshot 1).
Can you send this example program?
> There is another issue: when the bitmap is loaded with default
> transparency (the left-bottom pixel color is transparent) then all
> pixels with this color appear to be black if transparent color is
> changed and the original color is lost (e.g. clFuchsia on sceenshot2).
Can you send this example program as well?
About left-bottom pixel: The bitmap reader converts this color to
transparent colBlack, instead of transparent color. This needs to be fixed.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives