[Therion] Progressive coded JPG files??
Bill Gee
bgee at campercaver.net
Tue Aug 19 15:25:39 CEST 2025
Hello everyone - This has been annoying me for a bit. Today I
discovered it is actually a big problem.
For the past few months - I do not remember exactly how long - When I
add a background to a th2 file, I get a message about unable to load the
file. Screen shot attached. For new th2 files I have got around it by
using magick to convert the background images to PNG files. Easy and
quick, though annoying that it has to be done at all. Many of those
images come from a friend who scans the paper through a flatbed. He
uses Windows, and I just assumed something about his scanner software
was wonky.
Today I went back to some stuff I last worked on several years ago. The
th2 file failed to open the background. The message said the file was
not available. I removed the background image and tried to reload it.
BAM! I get the same message about unable to load and asking if the file
is a progressive JPG! These background images did not come from my
friend's scanner. They came from a 25 year old camera. Some are PDF
files converted to JPG and others come from my flatbed scanner using xsane.
These are files that worked several years ago. I have not changed them.
Trying some other stuff ... It appears that xTherion will no longer
load ANY jpg file. The question about progressive format is bogus.
Does anyone have any idea what is going on?
Yeah, I could go back and convert thousands of background images from
all the maps I have worked on. It would take days to find and update
all of them, and all the th2 files as well. But dang it - This should
Just Work! And what happens if PNG files stop working, too??
The system is Fedora 42. Therion is 6.3.4+dev, compiled back in April.
I have several jpeg libraries installed:
root at main2:~# rpm -qa | grep jpeg
libjpeg-turbo-3.1.0-2.fc42.x86_64
openjpeg-2.5.3-6.fc42.x86_64
turbojpeg-3.1.0-2.fc42.x86_64
openjpeg-tools-2.5.3-6.fc42.x86_64
libjpeg-turbo-utils-3.1.0-2.fc42.x86_64
libjpeg-turbo-devel-3.1.0-2.fc42.x86_64
openjpeg-devel-2.5.3-6.fc42.x86_64
jpeginfo-1.7.1-6.fc42.x86_64
jpegoptim-1.5.5-6.fc42.x86_64
mjpegtools-libs-2.2.1-8.fc42.x86_64
I ran jpeginfo -i across some of these files. According to jpeginfo,
they are NOT progressive format, as shown by the 'N' right after the bit
depth:
2021_04_01 SHN-017 CAVE SPRING CAVE PLAN VIEW X23-X26.JPG 1686 x 2952
24bit N JFIF,ICC Huffman,300dpi 1487615
Thanks!
--
===============
Bill Gee
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_20250819_075154.jpg
Type: image/jpeg
Size: 31373 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20250819/f27e0d7d/attachment-0001.jpg>
More information about the Therion
mailing list