[NTG-context] Rotating jpeg image gives weird output

denis.maier at unibe.ch denis.maier at unibe.ch
Wed Jun 15 13:44:28 CEST 2022

Thanks for all your help. Using Magick had no effect so I've had another look at my setup. It turned out I had this in m


The period to end maxheight is obviously a mistake. (However, I'm still perplexed that this only shows up when the image is rotated...)

Sorry for the noise.


> -----Urspr√ľngliche Nachricht-----
> Von: Max Chernoff <mseven at telus.net>
> Gesendet: Mittwoch, 15. Juni 2022 00:52
> An: Maier, Denis Christian (UB) <denis.maier at unibe.ch>; ntg-context at ntg.nl
> Betreff: Re: [NTG-context] Rotating jpeg image gives weird output
> > Any other ideas? (I tend to think the image is corrupted in one way or
> > the other, but I have no clue how to fix that.)
> You could try making a new image with the same content. Assuming you're
> on Windows 10/11, install Image Magick
>      winget install -e --id ImageMagick.ImageMagick
> then run
>      magick convert -strip image.jpg temp.tga
>      magick convert -strip temp.tga new-image.jpg
>      del temp.tga
> which should give you a new image "new-image.jpg" that shouldn't be
> corrupt. If you are still having problems with this new image, then the issue is
> likely with ConTeXt itself, and this specific image is just triggering it
> somehow.
> -- Max

More information about the ntg-context mailing list