wile64 wrote:
Hi,

I use the example Scanline to change an image with the alpha channel as well.

  alphaTransparent  = 0;
  alphaOpaque       = 255;


  IntfImage.CopyPixels(ScanLineImage);

what is the Description of IntfImage ?
Does it have an Aplha channel ?

  MyBitmap.LoadFromIntfImage(IntfImage);

Why not loading from ScanLineImage ?

  Canvas.Draw(10,10,MyBitmap);

I think ths should work.

The problem is that I have no transparency with this method.

How to give transparency to MyBitmap?

Marc

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

Reply via email to