Ask a Question related to Macromedia Director Lingo, Design and Development.
-
Daniel Pliscoff #1
Re: Alpha Channel and CopyPixels
it looks like you are copying into the alpha channel of the destination
image. Try creating a temp image to composeand then copy to the
destination image, also is always sane to use image duplicate()'s.
Something like:
textimage= member(YourTextMember).image.extractAlpha().duplic ate()
img = member(YourImageMember).image.duplicate()
img.copyPixels(textimage, textimage.rect, YourDestinationRect)
member("FinalImage").image = img
It worked for me ;) (W2K + DMX)
Hope it helps.
regards
D.
"PHenry" [email]webforumsuser@macromedia.com[/email] wrote:> I am trying to use copypixels to copy text from a text cast member onto a image cast member. The image is 32 bit with a tranparent background. I need the alpachannel on to avoid a halo due to antialiasing of the image, but this causes the background behind the text I copy onto the member to create a transparent hole in the image. I've tried every ink for the copypixels and for the cast member, and I've tried changing background colours, nothing works.
>
> I am using Director MX(9.0), and I don't think this was a problem in Director 8.0. I am running windows XP.
>
> Any ideas how to avoid this problem.
>
> Patrick
>
>
>Daniel Pliscoff Guest
-
Using Cast Member as Alpha Channel
Hello, I am trying to assign a texture, present in the cast, to be used as the alpha channel - so the texture can be semi-transparent. You know,... -
Creating overlays with an alpha channel
Here are two methods to create textures for an overlay, depending upon its usage: * Easiest way to create an opacity mask (giving a shape to... -
Alpha channel query
I would like to know what will happens in the follow senario it is a CMYK job. I have a colour page. A section of it is covered with a alpha... -
Alpha Channel from B&W layer
I know how to create an alpha channel and paint in your mask using black and white. My question is this: How can you take an already black and white... -
Alpha channel direct manipulation
Hi, I've this problem: I want separate layer mask and RGB pixels. When I create mask from the image, using Ctrl-clicked selection (= selection... -
hairybobby webforumsuser@macromedia.com #2
Re: Alpha Channel and CopyPixels
this page on my site gives some nice copyp tutes.
[url]http://www.geocities.com/hairybobby2000/copypdemos.html[/url]
this page gives an example of how to copy a text member and turn it into a PNG image - of the exact perfect size.
[url]http://www.geocities.com/hairybobby2000/textfxmake2.html[/url]
It may not be exactly what your after but I hope it helps a little.
HAIRYBOBBY - why didn't I choose a really cool name like the vulcanpimp
[url]http://www.geocities.com/hairybobby2000[/url]
Photograpghy section
[url]http://www.geocities.com/hairybobby2000/px1.html[/url]
Photoshop section
[url]http://www.geocities.com/hairybobby2000/photo1.html[/url]
hairybobby webforumsuser@macromedia.com Guest



Reply With Quote

