KDE3 (konqueror, kview, etc...) no longer displays Gif 89a
All, Ran into an interesting image library problem in konqueror preview, kview, etc.. for some reason Gif 89a images are no longer shown. Here is an example image on paste.opensuse https://paste.opensuse.org/pastes/885a14ec9b59 The image shows fine in all the Gtk viewers, but not in the Qt/KDE3 apps. Yasuhiko, do you want me to open a bug on it? -- David C. Rankin, J.D.,P.E.
Hello all, This GIF file seems to be corrupted. When tries to expand it as written, it requires an unlimited size of memory (I increased the maximum GIF(LZW) dictionary size (only for testing) from 12 bits (16 KB) to 27 bits (512 MB), but not succeeded). Newer GIF libraries can gracelly avoid and display them, but qt3 embedded GIF code (src/kernel/qasyncimageio.cpp) has no such functionality. Therefore, this file should be repaired to display correctly. You can use some tools (ImageMagick, gimp, etc.) to repair. Thanks, On Fri, 24 Feb 2023 14:43:42 -0600 "David C. Rankin" <drankinatty@suddenlinkmail.com> wrote:
All,
Ran into an interesting image library problem in konqueror preview, kview, etc.. for some reason Gif 89a images are no longer shown. Here is an example image on paste.opensuse
https://paste.opensuse.org/pastes/885a14ec9b59
The image shows fine in all the Gtk viewers, but not in the Qt/KDE3 apps. Yasuhiko, do you want me to open a bug on it?
-- David C. Rankin, J.D.,P.E.
-- Yasuhiko Kamata E-mail: belphegor@belbel.or.jp
On 2/25/23 03:36, Yasuhiko Kamata wrote:
Hello all,
This GIF file seems to be corrupted.
When tries to expand it as written, it requires an unlimited size of memory (I increased the maximum GIF(LZW) dictionary size (only for testing) from 12 bits (16 KB) to 27 bits (512 MB), but not succeeded).
Newer GIF libraries can gracelly avoid and display them, but qt3 embedded GIF code (src/kernel/qasyncimageio.cpp) has no such functionality.
Therefore, this file should be repaired to display correctly. You can use some tools (ImageMagick, gimp, etc.) to repair.
Thanks,
Thank you, I knew there had to be something more. You can never trust the EE types to get graphics right. A simple SR flip-flop diagram as a .gif and it is hosed. I should have checked other .gif files -- they do indeed preview just fine. You could say Qt3 was just being smart and not attempting to allocate an unreasonable amount of memory. Thank you for your time. I still want to know how/where you have your build environment of KDE3 setup. I wouldn't mind implementing one locally, but other than just extracting the sources from the .srpms and reinventing the KDE3 tree, I'm not sure the best way to go. I could just use the .srpms -- but I like having the sources in the tree for editing, such as how TDE was setup in git. I created a TDE build system for Arch, but that took an inordinate amount of time to write/update all the PKGBUILD files -- so I would like to avoid reinventing the wheel. Keep up the great work, you are indeed the current KDE3 wizard! -- David C. Rankin, J.D.,P.E.
participants (3)
-
David C. Rankin
-
David C. Rankin
-
Yasuhiko Kamata