Re: [NTG-context] Rotating jpeg image gives weird output

2022-06-15 Thread Denis Maier via ntg-context
perplexed that this only shows up when the image is rotated...) Sorry for the noise. Denis > -Ursprüngliche Nachricht- > Von: Max Chernoff > Gesendet: Mittwoch, 15. Juni 2022 00:52 > An: Maier, Denis Christian (UB) ; ntg-context@ntg.nl > Betreff: Re: [NTG-context] Rota

Re: [NTG-context] Rotating jpeg image gives weird output

2022-06-14 Thread Max Chernoff via ntg-context
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

Re: [NTG-context] Rotating jpeg image gives weird output

2022-06-14 Thread Denis Maier via ntg-context
that.) Best, Denis > -Ursprüngliche Nachricht- > Von: Max Chernoff > Gesendet: Dienstag, 14. Juni 2022 11:45 > An: ntg-context@ntg.nl > Cc: Maier, Denis Christian (UB) > Betreff: Re: [NTG-context] Rotating jpeg image gives weird output > > > So, I've rotated th

Re: [NTG-context] Rotating jpeg image gives weird output

2022-06-14 Thread Max Chernoff via ntg-context
So, I've rotated the image, but now two things happen: 1. there's a weird offset (the image is moved to the right) This seems to be somehow related to the particular file. With a different file that does not happen. This can sometimes happen if the image has an embedded EXIF "Orientation" tag

[NTG-context] Rotating jpeg image gives weird output

2022-06-14 Thread Denis Maier via ntg-context
Hi, I have a jpeg image that drives me crazy. The scanned image I have received from the author is in landscape. So, I've rotated the image, but now two things happen: 1. there's a weird offset (the image is moved to the right) 2. The output contains this line . location=local,global.

Re: [NTG-context] Rotating an image

2015-10-15 Thread Wolfgang Schuster
Fabrice Couvreur 12. Oktober 2015 um 20:58 A small question not directly related context. I would like to turn my image 15 degrees. Thanks, Fabrice picture pic ; pic := currentpicture ; u := 0.5cm ; z1 = origin ; z2 = (9u, 0) ; path p ; p := fullcircle scaled

Re: [NTG-context] Rotating an image

2015-10-15 Thread Alan BRASLAU
On Thu, 15 Oct 2015 18:36:56 +0200 Fabrice Couvreur wrote: > Why is it necessary to add currentpicture := nullpicture ; ? Otherwise you will get both the unrotated as well as the rotated image! Alan

Re: [NTG-context] Rotating an image

2015-10-15 Thread Fabrice Couvreur
Hi Wolfgang, Why is it necessary to add currentpicture := nullpicture ; ? Thank you, Fabrice 2015-10-15 17:27 GMT+02:00 Wolfgang Schuster : > Fabrice Couvreur > 12. Oktober 2015 um 20:58 > A small question not directly related context. >

[NTG-context] Rotating an image

2015-10-12 Thread Fabrice Couvreur
A small question not directly related context. I would like to turn my image 15 degrees. Thanks, Fabrice picture pic ; pic := currentpicture ; u := 0.5cm ; z1 = origin ; z2 = (9u, 0) ; path p ; p := fullcircle scaled 14u ; path q ; q := p shifted (9u,0) ; pair A ; A := p intersectionpoint q ;