Bug 169820

Summary: khtml renders certain jpegs with artifacts in them
Product: [Applications] konqueror Reporter: Unai Garro <ugarro>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Severity: normal CC: maksim
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: jpeg image sample used by the html testcase

Description Unai Garro 2008-08-25 23:09:53 UTC
Version:            (using Devel)
Compiler:          gcc 4.2.3  gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
OS:                Linux
Installed from:    Compiled sources

Khtml renders some jpeg pictures in web pages with artifacts in them.

I attach a sample html page and jpeg here as testcase:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
                        <img src="gray.jpg"/>
Comment 1 Unai Garro 2008-08-25 23:15:27 UTC
Created attachment 27048 [details]
jpeg image sample used by the html testcase

attached the file missing for the testcase. Somebody should fix b.k.o. to allow adding attachments during the report...
Comment 2 Unai Garro 2008-08-25 23:25:07 UTC
Just to make it clear, if you display the image in the gwenview kpart, it's rendered correctly. Just a red box, and a gray border. But if you display the html page, it renders an extra white line in the top part, inside the gray border.
Comment 3 Maksim Orlovich 2008-08-30 22:43:25 UTC
Fixed by:

Only took me slightly under 3 years :(