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.