[Therion] Progressive coded JPG files??

James Begley james.begley at gmail.com
Tue Aug 26 09:48:02 CEST 2025


https://bugzilla.redhat.com/show_bug.cgi?id=2337800

According to https://wiki.tcl-lang.org/page/Img, version 1.4.16 is not
compatible with tcl9, and version 2.1.0 (or later) is required.

Cheers,
James

On Tue, 26 Aug 2025 at 06:57, Matěj Plch <plch.matej at gmail.com> wrote:

> Hi Bill,
>
> Can you please try to run XTherion on a new installation of Fedora 42,
> for example in a virtual machine? I see that Fedora 41 has tcl 8.6,
> and Fedora 42 has tcl 9, so maybe this is a leftover from a system
> upgrade. Also please note that after OS upgrade you need to do a clean
> rebuild of Therion, because libraries in different OS versions are
> usually not binary compatible.
>
> Matěj
>
> út 26. 8. 2025 v 1:40 odesílatel Bill Gee <bgee at campercaver.net> napsal:
> >
> > Update -  It seems I do NOT have Img installed on tcl9.0.
> >
> > To check this, use the tcl interactive shell.
> >
> > bgee at main2:~$ tclsh8.6
> > % package require Img
> > 1.4.16
> > % exit
> >
> > bgee at main2:~$ tclsh9.0
> > % package require Img
> > can't find package Img
> > % exit
> >
> > I searched around but found nothing on how to install Img for tcl 9.0.
> >
> >
> > ===============
> > Bill Gee
> >
> > On 8/25/25 17:54, Bill Gee wrote:
> > > Hi Olly -
> > >
> > > Thanks for the information.  I think it raises some new questions.
> > >
> > > If tkimg is required for both PNG and JPG, then why do PNG files work
> > > and JPG do not?  If I have tkimg, then both should work, and if I do
> not
> > > have it then neither should work.  Is that correct?
> > >
> > > How can I tell which versions of tcl have tkimg installed?  If tkimg is
> > > not present, will xTherion then show an error like it does when bwidget
> > > is missing?
> > >
> > > Looking at the code for xTherion, I see line 27254 which has "package
> > > require Img".  Is that the line where tkimg is loaded?
> > >
> > > I have never taken steps to install either bwidget or tkimg
> specifically
> > > for Tk/TCL.  I have only used the RPM packages from the Fedora
> > > repository.  Here are the packages I have installed:
> > >
> > > bgee at main2:~$ rpm -qa | grep tkimg
> > > tkimg-1.4.16-4.fc42.x86_64
> > >
> > > bgee at main2:~$ rpm -qa | grep bwidget
> > > kf5-kjobwidgets-5.116.0-3.fc42.x86_64
> > > bwidget-1.10.1-1.fc42.noarch
> > > kf6-kjobwidgets-6.17.0-1.fc42.x86_64
> > >
> > > bgee at main2:~$ rpm -qa | grep tcl
> > > tcl8-8.6.15-10.fc42.x86_64
> > > tcl-9.0.0-7.fc42.x86_64
> > >
> > >
> > > ===============
> > > Bill Gee
> > >
> > > On 8/25/25 16:49, Olly Betts wrote:
> > >> On Mon, Aug 25, 2025 at 10:10:32AM -0500, Bill Gee wrote:
> > >>> According to this, specifying "-file $ffname" will load the image
> using
> > >>> whatever format handler is registered for that type.  Tk includes by
> > >>> default
> > >>> handlers for GIF and PPM/PGM formats.  That is why PNG images still
> > >>> work.
> > >>
> > >> Note PNG is a completely different format to PPM/PGM (and also to
> GIF).
> > >>
> > >> AIUI it you need tkimg to get support for both PNG and JPG.
> > >>
> > >>> So what is the deal?  What does wish really do?  Did the set of
> default
> > >>> image handlers change between wish 8.6 and 9.0?
> > >>
> > >> "wish" is a windowing Tcl shell.
> > >>
> > >> My guess is you have tkimg installed for Tcl 8.6 but not for 9.0 (like
> > >> how you had bwidget installed for 9.0 but not 8.6 until you hacked
> > >> around that by adding a symlink),
> > >>
> > >> Cheers,
> > >>      Olly
> > >
> > > _______________________________________________
> > > Therion mailing list
> > > Therion at speleo.sk
> > > https://mailman.speleo.sk/listinfo/therion
> >
> > _______________________________________________
> > Therion mailing list
> > Therion at speleo.sk
> > https://mailman.speleo.sk/listinfo/therion
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20250826/5f363993/attachment.htm>


More information about the Therion mailing list