On Sun, Mar 23, 2025 at 18:14 (+0100), Pablo Rodriguez via ntg-context wrote:

> On 3/23/25 17:30, Jim wrote:
>> Hi Pablo,

> Hi Jim,

Hi Pablo,

> how about OpenJPEG or the library that displays JPEG2000 and JPX images?

The PDFs that I created before 2025.02.28 came along all (well, I only
tested some of them) still display correctly.

As does the PDF I more recently created with the TL2024 version of context.

> I attach my output file from your sample, is it displayed right on your
> system?

Perfectly.  So even more, I don't think my problem has anything to do with
PDF viewing programs.

> If the image isn’t displayed, could you send to the list the PDF output
> from your sample?

Just in case anyone is confused by what I mean when I say "grey box", here
is my test of including a PDF, JPG, JP2 and JPX.  When I look at it, I see
the PDF cow, the JPG cow, but neither the JP2 nor the JPX image.

Here is the context for that PDF:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\definegraphictypesynonym [jpx] [jp2]
\setupexternalfigures[location={local,default}]

\starttext

\line{%
    \externalfigure[cow.pdf][height=1in]%
    \hss
    \externalfigure[cow-jp2.jp2][height=1in]}

\vskip 20pt

\line{%
    \externalfigure[cow-jpg.jpg][height=1in]%
    \hss
    \externalfigure[cow-jpx.jpx][height=1in]}

\stoptext

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


Further, given that pdfimages only finds the JPG image in the attached PDF,
I feel more strongly yet that there is only one image in there.  (Although
I admit if there was a library problem and pdfimages used the same library,
that could cause pdfimages to show nothing.)

Finally, I tested the current stand-along context on two more computers:
(1) MX Linux running on bare metal
(2) Ubuntu 18.04.6 LTS running on bare metal.

In both cases, the PDF did not have the JP2 or JPX image.



For those keeping score, here is a summary of all the tests I know about:

(me) x86_64:    Slackware64 15.0 bare metal:               doesn't work
(me) x86_64:    Slackware64 15.0 VM:                       doesn't work
(me) x86_64:    MX Linux (debian 12.9) bare metal:         doesn't work
(me) x86_64:    MX Linux (debian 12.9) VM:                 doesn't work
(me) x86_64:    Ubuntu 18.04.6 LTS bare metal:             doesn't work

(LH) aarch64:   6.1.93-android14-11                        works

(PR) ?          Fedora                                     works
   [[I assume when Pablo says "LuaTeX 2.11.07 20250226" he means ...20250228 ]]

(BH) Mac        ?                                          works
(BH) ?          Slackware 15 VM, KDE DE:                   doesn't work
(BH) ?          (Slackware 15?) VM, Xfce DE:               works


Thanks to everyone contributing.

                                Jim

Attachment: image-test.pdf
Description: Adobe PDF document

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
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
___________________________________________________________________________________

Reply via email to