From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Jim <zlists+context@jdvb.ca>
Subject: [NTG-context] Re: .jpx and .jxl
Date: Tue, 5 Mar 2024 21:29:45 +0100 [thread overview]
Message-ID: <8817966a-06cd-5824-a04d-720227f9c2c1@gmail.com> (raw)
In-Reply-To: <ZeXbB+nP/lxz4i8x@x360.localdomain>
Jim schrieb am 04.03.2024 um 15:30:
> Recently I've been trying to make some PDFs smaller by using better
> compression of JPEG pictures.
>
> I was happy to see that \externalfigure cheerfully accepts .jp2 (JPEG 2000)
> files. However, my understanding (and I could well be wrong, but I've seen
> it multiple places) is that JPEG 2000 *Part 2* files should have extension
> .jpx, not .jp2.
>
> By default, ConTeXt does not recognize .jpx. But if I rename a .jpx file
> to have a .jp2 extension, then ConTeXt properly processes the file and I
> see the picture in the PDF.
>
> Q: are there any plans to make ConTeXt recognize the .jpx extension?
> If not, can anyone suggest some ConTeXt code which allows me to tell
> ConTeXt to process a .jpx file as a .jp2 file?
Adding
\definegraphictypesynonym [jpx] [jp2]
at the begin of your document should do the trick.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2024-03-05 20:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-04 14:30 [NTG-context] " Jim
2024-03-05 14:18 ` [NTG-context] " Taco Hoekwater
2024-03-05 19:14 ` Jim
2024-03-05 20:29 ` Wolfgang Schuster [this message]
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=8817966a-06cd-5824-a04d-720227f9c2c1@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=zlists+context@jdvb.ca \
/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).