Re: How to achieve transparency in PostScript?
- From: bilalhaider <bilalhaider86@xxxxxxxxx>
- Date: Wed, 20 May 2009 00:12:31 -0700 (PDT)
On May 19, 8:31 pm, ken <k...@xxxxxxxxxxx> wrote:
In article <17a1c201-6670-4af9-a3bb-ec7573ce1516
@g3g2000pra.googlegroups.com>, bilalhaide...@xxxxxxxxx says...
How can i achieve the above functionality using imagemask?
If you mean alpha blending, then the answer is that you can't. The only
transparency supported in PostScript is fully transparent or fully
opaque.
Can we
achieve the same transparent effect using image operator for Language
Level 2/3. I am unable to find any such dictionary value that helps to
achieve that? Does there any algo underlying the imagemask operator? I
am not getting the clear picture.
The fundamental problem, I think, is that you want to do something which
isn't supported in the language.
What you (seem) to want to do is to draw two vector objects, and have
the intersection coloured in a way which is given by combining the
colour of the two objects. You can't do that in PostScript.
You can create a path which is the intersection of the two objects by
using clip, and you can fill that with a colour, but its up to you to
figure out the colour.
When the problem becomes more complicated it becomes more difficult to
determine which objects intersect, and the list of objects becomes
larger and unwieldy. Theoretically possible but probably impractical.
Ken
Hi Ken
What you (seem) to want to do is to draw two vector objects, and have
the intersection coloured in a way which is given by combining the
colour of the two objects. You can't do that in PostScript.
Yeah this is what i want. Ok. I am doing some experiments on these
techniques.
Your help is very practical.
.
- References:
- How to achieve transparency in PostScript?
- From: bilalhaider
- Re: How to achieve transparency in PostScript?
- From: ken
- Re: How to achieve transparency in PostScript?
- From: Alex Cherepanov
- Re: How to achieve transparency in PostScript?
- From: bilalhaider
- Re: How to achieve transparency in PostScript?
- From: ken
- How to achieve transparency in PostScript?
- Prev by Date: Logitech Wingman Gamepad
- Next by Date: Re: Swapping two variables
- Previous by thread: Re: How to achieve transparency in PostScript?
- Next by thread: Re: How to achieve transparency in PostScript?
- Index(es):
Relevant Pages
|