1 Reply Latest reply on Nov 24, 2006 5:03 AM by James Newton, ACP

    Creating transparent Image with imaging Lingo

    Level 7
      Hi.

      I need to create an image castmember that is transparent and then paste in
      it some parts of other image castmembers.

      But when I create an image object with
      cImage=image(100,100,32),
      the new image Object is filled with white color

      When I paste in this image some other image pieces with
      cImage.copyPixels (member("srcImage").image, rect (10,10,20,20),
      member("srcImage").image.rect )

      and this source image has alpha channels, than only destination rect in
      cImage(rect (10,10,20,20)) is made transparent, all other part remains not
      transparent.

      How do I make a new created image transparent before pasting to it other
      content?

      Jorg