Bug 147130 - konqueror: internal viewer for png graphics wrongly says: 16x16 pixel
Summary: konqueror: internal viewer for png graphics wrongly says: 16x16 pixel
Status: CONFIRMED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml image part (show other bugs)
Version: 4.6.4
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-23 15:45 UTC by Toralf Förster
Modified: 2012-01-04 18:44 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster 2007-06-23 15:45:29 UTC
Version:           3.5.5 (using KDE 3.5.5, Gentoo)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.20-gentoo-r8

and doesn't show this picture :
 http://www.kernel.org/pub/linux/kernel/people/gregkh/kernel_history/developer_graph-2.6.22.png
Comment 1 Rui G. 2008-06-12 23:44:17 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.
Comment 2 Toralf Förster 2008-06-13 09:27:18 UTC
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 ?
Comment 3 Rui G. 2008-06-13 22:28:29 UTC
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?
Comment 4 Toralf Förster 2008-06-13 22:33:38 UTC
The stable Gentoo package is media-libs/libpng-1.2.26-r1
Comment 5 Rui G. 2008-07-11 13:30:27 UTC
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.
Comment 6 FiNeX 2009-11-29 23:08:14 UTC
OpenSuse 11.2, Konqueror 4.3.77, it displays the image correctly.
Comment 7 Toralf Förster 2009-12-12 18:15:30 UTC
The issue still exists within kde 4.3.3 under a stable Gentoo
Comment 8 Tommi Tervo 2009-12-12 19:40:07 UTC
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
Comment 9 Martin Koller 2011-06-23 22:45:46 UTC
Still a problem in 4.6.4.
A testprogram using Qts QImage can load and display the image.