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: Sat, 4 Sep 2021 13:59:43 +0200	[thread overview]
Message-ID: <334794C6-89C6-436D-9F7F-A3AC626A3A10@fiee.net> (raw)
In-Reply-To: <736F016F-AC9A-4B08-BF06-7FA349554589@scorecrow.com>


> Am 04.09.2021 um 00:16 schrieb Bruce Horrocks via ntg-context <ntg-context@ntg.nl>:
> 
> 
> 
>> On 3 Sep 2021, at 11:28, Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl> wrote:
>> 
>> Hi, is it possible to apply geometric transformations to images using MetaPost?
>> 
>> This is again way over my head, but I’m still trying different methods to let a ConTeXt document look more “hand-made”.
>> 
>> In my example*, I added frame and shadow to a photo and _distorted_ it slightly to have it look like a postcard was glued on the page (with a piece of tape). I’d like to automate and randomize that process.
>> 
>> I guess I could achieve something similar with ImageMagick (not with GraphicsMagick), but if it would be possible inside LMTX that would be great.
> 
> No idea about MetaPost but "Fred's ImageMagic Scripts" <http://www.fmwconcepts.com/imagemagick/index.php> is a fantastic resource. Start with "vintage" 1, 2 & 3 towards the bottom.
> 
> The site is a little idiosyncratic in that you click and nothing appears to happen. This is because all the pages start with the same table of scripts at the top so you have to scroll down to see an example of the effect achieved by the script you just selected.

Thank you – I know that site. I just hoped to keep everything ”inside“.

I made my own (shell) script for Imagemagick now; since I didn’t understand the transformation matrix anyway, I went without that distortion. (Nobody will miss it...)

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-04 11:59 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
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 [this message]

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=334794C6-89C6-436D-9F7F-A3AC626A3A10@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).