Thank you. Regarding transparency (clipping I fully am convinced that is doable, just wondering how), I looked at that but
{\starttransparent[tnormal]\externalfigure[cow.pdf][width=9cm]\stoptransparent} makes the entire PDF transparent, not just one colour inside that PDF. Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>, Mastodon <https://newsie.social/@gctwnl>) R&A IT Strategy <https://ea.rna.nl/> (main site) Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/> YouTube Channel <http://www.youtube.com/@GerbenWierda> > On 30 Jul 2024, at 01:03, Bruce Horrocks <n...@scorecrow.com> wrote: > > > >> 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 > ___________________________________________________________________________________
___________________________________________________________________________________ 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 ___________________________________________________________________________________