> On 29 Jul 2024, at 21:59, Gerben Wierda <gerben.wie...@rna.nl> wrote:
> 
> I have a large PDF with mostly vector and a bit of pixel graphics. It is in 
> two colours only (the pixels are either one colour or the other, no 
> dithering). I want to create a new PDF of a segment of the larger PDF (bottom 
> left corner), where vector is maximally preserved, and where one colour is 
> replaced by 100% transparency.
> 
> I was wondering if that is doable by using LMTX instead of trying to do this 
> with some GUI app.

I would start with \clip & \setupclipping to obtain the segment, and 
\definetransparency to set one of the colours to be transparent.
<https://wiki.contextgarden.net/Transparency>

—
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to