[Therion] xTherion will not open JPG backgrounds

mike at mikemccombe.co.uk mike at mikemccombe.co.uk
Tue Jan 27 21:14:59 CET 2026


I think I had the same problem a month or two ago using Therion on Windows. My solution was to load my jpeg into gimp and then export it with all of optional jpeg coding extensions turned off - so I had what you might call a "20 century jpeg". Therion on Windows was happy with this.

Mike McCombe

> -----Original Message-----
> From: Therion <therion-bounces at speleo.sk> On Behalf Of Bill Gee
> Sent: 27 January 2026 19:07
> To: Therion Mail List <therion at speleo.sk>
> Subject: Re: [Therion] xTherion will not open JPG backgrounds
> 
> Update - Argh!!  This is frustrating.  It is sort of like the Linux version of DLL
> Hell.
> 
> Apparently when I did the system updates a few weeks ago, the tkimg package
> removed itself from tcl 8.6 and added itself to tcl 9.0.  I searched through some
> old emails (lucky I still have them!) and found a thread from August 2025.  The
> solution in that thread was to modify the xtherion program so it executed in
> wish8.6 instead of wish 9.
> 
> Repeating my tests from then - I found that package Img is no longer available
> in tcl 8.6.  I changed xtherion to call wish 9.0, and now it works.  JPG
> backgrounds will now load.
> 
> The solution in August was to switch to TCL 8.6.  The solution this
> month is to switch to TCL 9.0.   Sheesh ...
> 
> bgee at main2:~$ tclsh8.6
> % package require Img
> can't find package Img
> % exit
> bgee at main2:~$ tclsh9.0
> % package require Img
> 2.1.0
> % exit
> bgee at main2:~$
> 
> 
> ===============
> Bill Gee
> 
> On 1/27/26 12:41, Bill Gee wrote:
> > Dang it ...  I remember seeing this problem some months ago, probably
> > in June, but now cannot remember how I fixed it.
> >
> > Therion 6.3.4+dev running on Fedora 43.
> >
> > In late December I worked on a cave map and had no problems with it.
> > xTherion opened jpg files as backgrounds.  Today I went back to that
> > same map, and it will not load the background jpg files.  It will open
> > png backgrounds.  The only error I can see is in the Background Images
> > field.  It shows the name of the jpg file and adds "(unknown)" at the end.
> >
> > I checked both tkimg and libjpeg.  They are installed.  What else is
> > required for this to work?
> >
> > I started xtherion from a command shell.  There were no additional
> > error messages.  Is there a log file somewhere that might give more clues?
> >
> > In early January I ran the usual update process for all packages.
> > Both tkimg and libjpeg were updated.  I don't see anything that was
> > removed other than old kernels.
> >
> > Thanks!
> >
> 
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion



More information about the Therion mailing list