Bug 115324

Summary: JPEG2000 broken in KolourPaint
Product: [openSUSE] openSUSE 10.2 Reporter: Alexey Eremenko <al4321>
Component: KDEAssignee: E-mail List <kde-maintainers>
Status: RESOLVED WORKSFORME QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: kde-maintainers
Version: Alpha 4   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Found By: Third Party Developer/Partner Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Alexey Eremenko 2005-09-05 16:16:07 UTC
Saving in JPEG 2000 format (*.jp2) is broken in KDE KolourPaint, which is a
paint application in KDE-imaging package.

I'm not a programmer, but I heard, that KolourPaint uses KImageIO class for it's
image formats, so the bug might be there...

Steps To reproduce:
1) Install SuSE 10.0 BETA4
2) Add any BETA4 mirror to the list
3) install kdegraphics3-imaging package via Yast
4) Start KDE KolourPaint (in KDE menu, graphics submenu)
5) Open the Suse 10 wallpaper: "/usr/share/wallpapers/suse10-800x600.jpg
6) "Save as" on your Desktop as JPEG 2000 image
7) error will result, JPEG2000 file will be created, 0 bytes in it.
Comment 1 Dirk Mueller 2005-09-05 20:58:37 UTC
jpeg2000 support is just generally broken.. 
 
Comment 2 Stephan Kulow 2005-09-06 07:41:40 UTC
Dirk: please take out Jpeg 2000 support from kimgio then. People expect files 
to be saved when they save. 
Comment 3 Dirk Mueller 2005-09-06 08:14:19 UTC
I'm still investigating.. we have HAVE_JASPER defined but most of the saving 
code is #ifdef'ed inside JAS_IMAGE_CS_RGB which seems nowhere set.. no idea 
why yet.  
 
looking.  
 
 
Comment 4 Dirk Mueller 2005-09-06 08:16:59 UTC
ah, this #define does no longer exist with newer libjasper (newer than 1.5). 
ok, our code just needs a little porting.  
Comment 5 Michael Gross 2005-09-06 11:41:15 UTC
Updating status to `assigned' and reducing severity to `major'.
Comment 6 Dirk Mueller 2005-09-06 21:08:38 UTC
submitted fixed package  
Comment 7 Alexey Eremenko 2006-09-08 13:44:53 UTC
Tested in newest openSUSE 10.2 Alpha4 - the bug still exists.
Comment 8 Alexey Eremenko 2006-09-14 18:29:18 UTC
Hello ---- any one is working on this?
Comment 9 Dirk Mueller 2006-09-15 10:12:53 UTC
yep. I can load JPEG2000 images just fine. 
Comment 10 Alexey Eremenko 2006-09-15 12:20:21 UTC
That's the problem. You can load, but you cannot save.
Comment 11 Alexey Eremenko 2006-09-15 12:20:45 UTC
Bug Reopened.
Comment 12 Dirk Mueller 2006-09-15 13:06:31 UTC
writing of files works perfectly for me. Please provide more information. 

Comment 13 Alexey Eremenko 2006-09-15 15:06:43 UTC
look at "Steps To reproduce" earlier.
Reopened.
Comment 14 Dirk Mueller 2006-09-15 23:19:43 UTC
try alpha5. 
Comment 15 Alexey Eremenko 2006-09-16 13:49:43 UTC
Are you sure that it works ?
Comment 16 Dirk Mueller 2006-09-18 13:15:36 UTC
Yes, I am. I'm no longer responding given that I already closed it as worksforme multiple times so unless you can show me with alpha5 a way that is reproduceable it is going to stay that way.