Re: How to achieve transparency in PostScript?



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.
.



Relevant Pages

  • Re: How to achieve transparency in PostScript?
    ... transparency supported in PostScript is fully transparent or fully ... achieve the same transparent effect using image operator for Language ... You can't do that in PostScript. ... You can create a path which is the intersection of the two objects by ...
    (comp.lang.postscript)
  • Re: problem with resizing 32bppArgb images
    ... that the resized image is not transparent. ... transparency or at least the adobes postscript driver that i have wont ... Apologies, I meant to say the .NET 2.0 Framework CopyFromScreen operator, ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Transparent fillstyle for boxes with postscript
    ... able to create "boxes" with transparent fill style ... The PostScript language itself does not support transparency. ...
    (comp.graphics.apps.gnuplot)
  • Re: Transparent WPTools Richtext control
    ... be fully transparent. ... are not transparent, only the background is. ... As I said to Ken Randall, ... window less. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Transparency in PostScript
    ... > i need a document about transparency ... PostScript has an opaque graphical model. ... either fully transparent or fully opaque (obscuring everything ...
    (comp.lang.postscript)