swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Set a color in PDF as transparent in SWF


From: Matthias Kramm
Subject: Re: [Swftools-common] Set a color in PDF as transparent in SWF
Date: Sat, 15 Mar 2008 11:29:30 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On Fri, Mar 07, 2008 at 10:57:42PM -0500, Ben Marchbanks <address@hidden> wrote:
> Is there a way to set a color as the transparent - e.g. black in the PDF 
> would become transparent in the swf

Depends on what you mean by "transparent". 
Obviously, you will have some objects (texts or something) which are the
"transparent" color (black), and due to the fact that they are
transparent, you see what is behind them.
Now, the question is what exactly you would expect to see behind them.
If you want to see the things that are below the *PDF*, then it's not
possible. 
If you just want to see the things in the PDF itself that are below the
objects in question (like, the background gradient behind the black
text, or something), then it's possible, by tweaking lib/devices/swf.c a
bit (look for gfxcolor_t objects, and rewrite the .a member if
r/g/b are e.g. black).

Greetings

Matthias







reply via email to

[Prev in Thread] Current Thread [Next in Thread]