From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112728 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aditya Mahajan via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Use MetaPost to distort images? Date: Sun, 5 Sep 2021 22:13:49 -0400 (EDT) Message-ID: References: <7cd61bb7-9f65-41c2-53f1-55489f9fa8f7@xs4all.nl> <05b7cfc3-464d-edb2-841e-f03b61b0dbe6@xs4all.nl> <9f550389-d53e-6787-22b8-6d4cacc6d33c@xs4all.nl> <71D57661-9A66-4424-8420-A822A4DE77B1@fiee.net> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1835023856-1630894430=:809722" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8467"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Alpine 2.23 (LNX 453 2020-06-18) Cc: Aditya Mahajan To: Henning Hraban Ramm via ntg-context Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 06 04:14:23 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mN49O-00022n-T2 for gctc-ntg-context-518@m.gmane-mx.org; Mon, 06 Sep 2021 04:14:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AACCE287176; Mon, 6 Sep 2021 04:13:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q3ZvuRiLpdbG; Mon, 6 Sep 2021 04:13:55 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5D6D32871A9; Mon, 6 Sep 2021 04:13:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2A7F62871A2 for ; Mon, 6 Sep 2021 04:13:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BsIK68M2VAMI for ; Mon, 6 Sep 2021 04:13:53 +0200 (CEST) Received-SPF: Softfail (mailfrom) identity=mailfrom; client-ip=132.206.73.2; helo=orford.cim.mcgill.ca; envelope-from=adityam@umich.edu; receiver= Original-Received: from orford.cim.mcgill.ca (orford.cim.mcgill.ca [132.206.73.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 4AAF0287176 for ; Mon, 6 Sep 2021 04:13:52 +0200 (CEST) Original-Received: from adi-thinkpad (198-48-192-62.cpe.teksavvy.com [198.48.192.62]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: adityam) by orford.cim.mcgill.ca (Postfix) with ESMTPSA id 5E3F9F552A for ; Sun, 5 Sep 2021 22:13:50 -0400 (EDT) In-Reply-To: <71D57661-9A66-4424-8420-A822A4DE77B1@fiee.net> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:112728 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1835023856-1630894430=:809722 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Sun, 5 Sep 2021, Henning Hraban Ramm via ntg-context wrote: >=20 > > Am 05.09.2021 um 10:10 schrieb Hans Hagen : > >> BTW, here=E2=80=99s my script: > >> Here are some results: > >=20 > > Did you try that with the filter module? It would make it more portable >=20 > I completely forgot I could do that (and I even know how). See attached. Basically, you can just copy-paste your script as the value o= f the filtercommand, and that's it.=20 Aditya PS: I realized that there is a regression, and \externalfilterbasefile does= not remove the file extension. So, the output is named mill.png-taped.png = rather than mill-taped.png. I'll look into it later --8323329-1835023856-1630894430=:809722 Content-Type: application/x-tex; name=rotate.tex Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=rotate.tex XHVzZW1vZHVsZVtmaWx0ZXJdCgpcdHJhY2VleHRlcm5hbGZpbHRlcnMKXGRl ZmluZWV4dGVybmFsZmlsdGVyCiAgW3RhcGVdCiAgWwogICAgZmlsdGVyY29t bWFuZD17Y29udmVydCBcZXh0ZXJuYWxmaWx0ZXJpbnB1dGZpbGVcc3BhY2Ug CiAgICAgICAgICAgICAgICAgICAtYXV0by1vcmllbnQKICAgICAgICAgICAg ICAgICAgIC1yZXNpemUgODAweDgwMAogICAgICAgICAgICAgICAgICAgLWJv cmRlcmNvbG9yIHdoaXRlIC1ib3JkZXIgMTAKICAgICAgICAgICAgICAgICAg IFxsZXR0ZXJiYWNrc2xhc2goICtjbG9uZSAtYmFja2dyb3VuZCBibGFjayAt c2hhZG93IDgweDMrMisyIFxsZXR0ZXJiYWNrc2xhc2gpCiAgICAgICAgICAg ICAgICAgICArc3dhcAogICAgICAgICAgICAgICAgICAgLWJhY2tncm91bmQg dHJhbnNwYXJlbnQKICAgICAgICAgICAgICAgICAgIC1sYXllcnMgbWVyZ2UK ICAgICAgICAgICAgICAgICAgIC1yb3RhdGUgXGV4dGVybmFsZmlsdGVycGFy YW1ldGVye3JvdGF0aW9ufQogICAgICAgICAgICAgICAgICAgK3JlcGFnZQog ICAgICAgICAgICAgICAgICAgLWdyYXZpdHkgbm9ydGgKICAgICAgICAgICAg ICAgICAgIC1zcGxpY2UgMHgxMAogICAgICAgICAgICAgICAgICAgXGxldHRl cmJhY2tzbGFzaCggXGV4dGVybmFsZmlsdGVycGFyYW1ldGVye3RhcGV9IC1y ZXNpemUgMjAweDUwISBcbGV0dGVyYmFja3NsYXNoKSAKICAgICAgICAgICAg ICAgICAgIC1jb21wb3NlIE11bHRpcGx5IC1jb21wb3NpdGUKICAgICAgICAg ICAgICAgICAgIC1jb2xvcnNwYWNlIEdyYXkKICAgICAgICAgICAgICAgICAg IFxleHRlcm5hbGZpbHRlcm91dHB1dGZpbGV9LAogICAgIHJvdGF0aW9uPXsx LjV9LCAlIE5vdCBzdXJlIHdoYXQgYGpvdGAgZG9lcwogICAgIHRhcGU9e3Rl c2ExLnBuZ30sCiAgICAgb3V0cHV0PXtcZXh0ZXJuYWxmaWx0ZXJiYXNlZmls ZS10YXBlZC5wbmd9LAogICAgIHJlYWRjb21tYW5kPVxyZWFkUE5HZmlsZSwK ICBdCgpcZGVmaW5lWzFdXHJlYWRQTkdmaWxle1xleHRlcm5hbGZpZ3VyZVsj MV19Cgpcc3RhcnR0ZXh0CiUgQ29waWVkIG1pbGwucG5nIHRvIFBXRCBzbyBp bSBjYW4gZmluZCBpdApccHJvY2Vzc3RhcGVmaWxle21pbGwucG5nfQpcc3Rv cHRleHQKCgo= --8323329-1835023856-1630894430=:809722 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --8323329-1835023856-1630894430=:809722--