ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Max Chernoff via ntg-context <ntg-context@ntg.nl>
To: denis.maier@unibe.ch, ntg-context@ntg.nl
Cc: Max Chernoff <mseven@telus.net>
Subject: Re: Rotating jpeg image gives weird output
Date: Tue, 14 Jun 2022 16:52:22 -0600	[thread overview]
Message-ID: <d98bc26c-b0ca-d048-9e4c-87c5ab283194@telus.net> (raw)
In-Reply-To: <d38076f89c1c4d38a2b07432205da185@unibe.ch>

> 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
___________________________________________________________________________________
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:[~2022-06-14 22:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-14  8:56 Denis Maier via ntg-context
2022-06-14  9:45 ` Max Chernoff via ntg-context
2022-06-14 10:47   ` Denis Maier via ntg-context
2022-06-14 22:52     ` Max Chernoff via ntg-context [this message]
2022-06-15 11:44       ` Denis Maier via ntg-context

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=d98bc26c-b0ca-d048-9e4c-87c5ab283194@telus.net \
    --to=ntg-context@ntg.nl \
    --cc=denis.maier@unibe.ch \
    --cc=mseven@telus.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).