ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: Re: Use MetaPost to distort images?
Date: Mon, 6 Sep 2021 10:42:30 +0200	[thread overview]
Message-ID: <CE2C93E0-3B19-45C2-849B-87BB2319C0FC@fiee.net> (raw)
In-Reply-To: <nycvar.YAK.7.78.908.2109052210040.809722@nqv-guvaxcnq>


> Am 06.09.2021 um 04:13 schrieb Aditya Mahajan via ntg-context <ntg-context@ntg.nl>:
> 
> On Sun, 5 Sep 2021, Henning Hraban Ramm via ntg-context wrote:
> 
>> 
>>> Am 05.09.2021 um 10:10 schrieb Hans Hagen <j.hagen@xs4all.nl>:
>>>> BTW, here’s my script:
>>>> Here are some results:
>>> 
>>> Did you try that with the filter module? It would make it more portable
>> 
>> 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 of the filtercommand, and that's it. 

Thank you! I could have done it myself...

But Hans was in a generous and experimenting mood and wrote 
- Lua code interfacing GraphicsMagick to manipulate bitmap data
- a MP interface to ImageMagick

I just need to test them and will report.


> 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

Oh, thank you. I need to check in my LilyPond setup.


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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2021-09-06  8:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-03 10:28 Henning Hraban Ramm via ntg-context
2021-09-03 16:24 ` Hans Hagen via ntg-context
2021-09-04 12:18   ` Henning Hraban Ramm via ntg-context
2021-09-04 17:06     ` Hans Hagen via ntg-context
2021-09-05  7:40       ` Henning Hraban Ramm via ntg-context
2021-09-05  8:10         ` Hans Hagen via ntg-context
2021-09-05  9:34           ` Henning Hraban Ramm via ntg-context
2021-09-06  2:13             ` Aditya Mahajan via ntg-context
2021-09-06  8:42               ` Henning Hraban Ramm via ntg-context [this message]
2021-09-05  8:46         ` Hans Hagen via ntg-context
2021-09-03 22:16 ` Bruce Horrocks via ntg-context
2021-09-04 11:59   ` Henning Hraban Ramm via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CE2C93E0-3B19-45C2-849B-87BB2319C0FC@fiee.net \
    --to=ntg-context@ntg.nl \
    --cc=texml@fiee.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).