Summary: | konqueror: internal viewer for png graphics wrongly says: 16x16 pixel | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Toralf Förster <toralf.foerster> |
Component: | khtml image part | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | finex, kollix, rpogomes |
Priority: | NOR | ||
Version: | 4.6.4 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Toralf Förster
2007-06-23 15:45:29 UTC
I can see the picture in konq3 (3.5.9) but I can't in konq4 (trunk rev.819999) with the same issue you say. Can't you open it in a recent version? My guess is there is a library issue, but it's just a guess. I've 3.5.9 currently. BTW firefox-2 can't display the graphics too. Probably an issue at my platform (stable Gentoo) with the png library ? I'm using binary packages for 3.5.9 in arch, so maybe a build was done with a previous version of libpng , but for trunk I used this one: libpng 1.2.28 . What is yours? The stable Gentoo package is media-libs/libpng-1.2.26-r1 In opensuse 11.0 , konq 3.5.9 can't open the file. With konq4 it uses a lot of ram to try and open it, and it succeeds. Konq3 displays the same error as described in the bug report, and curiously libpng's version is 1.2.26 . And I upgraded libpng to 1.2.29 and the issue is still the same. But konq3 was really trying to open the file, and it was also using a lot of ram in the process, and it stopped after a while ( maybe the same happened with libpng 1.2.26, didn't notice ). It's curious how it works in some distributions and not in others. If I find out why this happens, I'll post it. OpenSuse 11.2, Konqueror 4.3.77, it displays the image correctly. The issue still exists within kde 4.3.3 under a stable Gentoo If gwenview is the default image viewer, then pic is displayed correctly. default image viewer throws following error. kio_file(26449)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png" libpng error: Decompression Error konqueror(28648)/kimgio khtmlImLoad::QImageIOLoaderProvider::loaderFor: QImageIO - Format guessed: "jpeg" Corrupt JPEG data: 660 extraneous bytes before marker 0x1c Unsupported marker type 0x1c Corrupt JPEG data: 660 extraneous bytes before marker 0x1c Unsupported marker type 0x1 Still a problem in 4.6.4. A testprogram using Qts QImage can load and display the image. Dear user, KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6. Please migrate to use a QWebEngine based HTML component. We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes. For security issues, please see: https://kde.org/info/security/ Sorry that we did not fix this issue during the life-time of KHTML. Greetings Christoph Cullmann |