> 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 ___________________________________________________________________________________