Am 14.08.2011 19:47, schrieb Hans Hagen:
On 10-8-2011 8:00, Peter Rolf wrote:
Usage:
btransp(normaltransparency,.5); <whatever> etransp;
Officially
draw image ( whatever ) withtransparency (normaltransparency,.5)
should work, but there is a (known) bug in mplib with respect to applying scripts to the components of a picture (color works ok).
The problem with the current transparency implementation is, that it doesn't use a transparency stack. If you use nested transparency, switching back to non transparent (/Tr0) is not what you always want. That's the only reason for this extra (ugly) plugin.
I had a solution for the old 'specials', but I can't find one for the plugin handler. How can I get rid of the 'trigger code'?
In this respect the converter is kind of black box and there is not something like a stack or disable options. Maybe some day but I'd rather not touch the code now.
OK. I think I found a solution in the meantime (but still to be tested). Thanks for taking the time. Peter