Bug 123604 - recent documents: preview image (jpg) with wrong colors
Summary: recent documents: preview image (jpg) with wrong colors
Status: RESOLVED DUPLICATE of bug 105006
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Halla Rempt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-14 11:48 UTC by sts
Modified: 2006-03-14 20:29 UTC (History)
0 users

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 sts 2006-03-14 11:48:50 UTC
Version:           1.5-beta2 (using KDE 3.5.1 Level "a" , SUSE 10.0 UNSUPPORTED)
Compiler:          Target: x86_64-suse-linux
OS:                Linux (x86_64) release 2.6.13-15.8-default

Start krita and I see this jpg in preview with wrong colors. If I open this image.. the colors are correct.

Attachment follows..
Comment 1 sts 2006-03-14 11:52:23 UTC
ok.. I can't upload this file because it's to big
Comment 2 Halla Rempt 2006-03-14 11:52:57 UTC
Is that a cmyk jpeg? See http://bugs.kde.org/show_bug.cgi?id=105006, http://bugs.kde.org/show_bug.cgi?id=35420. I think this is not a Krita bug, but a kfile-plugins one.
Comment 3 sts 2006-03-14 12:03:56 UTC
yes.. correct.
Comment 4 Halla Rempt 2006-03-14 12:07:06 UTC
I'll mark this bug a duplicate of the kfile-plugins bug. Maybe Brad knows how to fix it there.

*** This bug has been marked as a duplicate of 105006 ***
Comment 5 rgpublic 2006-03-14 19:59:07 UTC
Mmmm, Bug 35420 you mentioned is marked wontfix because this is supposed to be a bug in libjpeg. This is not really a bug, but a problem with Photoshop JPEGs which are the most common CMYK JPEGs unforunately.

On this URL:

http://ou800doc.caldera.com/en/jpeg/libjpeg.txt

it is explained that they will never fix this, because it would break other applications. They recommend that the problem is fixed outside libjpeg.
I only know this has sth. to do with the so called Adobe "APP14" marker inside
JPEG files. If present, it has to be inverted by the application.
It certainly isnt useful if KDE says they wontfix it because it has to
be fixed in libjpeg and libjpeg says it must be fixed in KDE. 
Hope this is helpful to overcome the deadlock. Dont know who
must be informed of this, so I'm noting it down here for the record ;-)
Comment 6 Halla Rempt 2006-03-14 20:29:56 UTC
Since Krita uses libjpeg to read those files, and does so quite well, I'd argue that the problem is with kde. It should be easy enough to fix.