Bug 247224

Summary: Applications cannot open most JPEG-2000 (*.jp2) files
Product: [I don't know] kde Reporter: Dmitry <dmitry.ashkadov>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: cfeck, suskop
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dmitry 2010-08-10 11:52:55 UTC
Version:           unspecified (using KDE 4.4.3) 
OS:                Linux

(Sorry for my bad English)

Earlier all JPEG-2000 images (*.jp2) could be opened using Okular, Gwenview or
KolourPaint. Now any KDE application cannot open most my JPEG-2000 files (some files may be opened now). Application cannot open only large images.
I had downloaded last sources of jasper library, but compiled by me jasper library can decode large JPEG 2000 images. 

// installed version
$ imginfo -f test_1000x750.jp2 
jp2 3 1000 750 8 2250000
$ imginfo -f test_3264x2448.jp2 
error: cannot decode code stream
cannot load image

// compiled version
$ ./imginfo -f test_1000x750.jp2 
jp2 3 1000 750 8 2250000
$ ./imginfo -f test_3264x2448.jp2 
jp2 3 3264 2448 8 23970816



Reproducible: Always

Steps to Reproduce:
Try to open large JPEG-2000 image.
Comment 1 Christoph Feck 2010-08-10 14:25:36 UTC
In what way is "imginfo" related to KDE?
Comment 2 Dmitry 2010-08-10 16:54:49 UTC
KDE uses jasper library and imginfo uses jasper library. Any application that uses libjasper.so cannot open large images. If I replace libjasper.so by compiled version then all applications will open large images.
Comment 3 Christoph Feck 2010-08-10 22:52:52 UTC
Yes, I understand that, but why do you use the KDE bug tracker to report this bug, if you are stating that the problem is with the jasper library?

If the version provided by your distribution is not able to read all files and should be fixed or updated, please report the problem to https://qa.mandriva.com/index.cgi