On 3 Sep 2021, at 11:28, Henning Hraban Ramm via ntg-context
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. — Bruce Horrocks Hampshire, UK