[digikam] [Bug 359608] New: Digikam does not decode 16 bit grayscale jp2.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 359608] New: Digikam does not decode 16 bit grayscale jp2.

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=359608

            Bug ID: 359608
           Summary: Digikam does not decode 16 bit grayscale jp2.
           Product: digikam
           Version: 4.14.0
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [hidden email]
          Reporter: [hidden email]

Digikam does not decode grayscale jpeg2000 images correctly when the bit depth
is larger than 8 bits. It decodes this pictures to some strange green/white
rectangles.

You can create such jp2 images for example with imagemagic:
convert test.tif -depth 16 -quality 80 -type grayscale test.jp2

Images converted with depth 8 will be decoded correctly:
convert test.tif -depth 8 -quality 80 -type grayscale test.jp2


Reproducible: Always

Steps to Reproduce:
1. Create an jp2 image from a 16Bit image using imagemagik: "convert test.tif
-depth 14 -quality 80 -type grayscale test.jp2"
2. View the created image as preview or try to open this created image.

Actual Results:  
Strange image with white/green boxes.

Expected Results:  
Correct display of the black and white image.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 359608] Digikam does not decode 16 bit grayscale jp2.

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=359608

--- Comment #1 from Ulrich Eckhardt <[hidden email]> ---
Created attachment 97316
  --> https://bugs.kde.org/attachment.cgi?id=97316&action=edit
Greyscal jp2000 with 14Bit depth.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 359608] Digikam does not decode 16 bit grayscale jp2.

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=359608

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/64b854f99cfc10108a9ce78
                   |                            |77ef63f8ada66b497
             Status|UNCONFIRMED                 |RESOLVED
   Version Fixed In|                            |5.0.0

--- Comment #2 from Maik Qualmann <[hidden email]> ---
Git commit 64b854f99cfc10108a9ce7877ef63f8ada66b497 by Maik Qualmann.
Committed on 20/02/2016 at 18:26.
Pushed by mqualmann into branch 'master'.

add support for 16 bit grayscale jpeg2000 images
FIXED-IN: 5.0.0

M  +2    -1    NEWS
M  +21   -6    libs/dimg/loaders/jp2kloader.cpp

http://commits.kde.org/digikam/64b854f99cfc10108a9ce7877ef63f8ada66b497

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 359608] Digikam does not decode 16 bit grayscale jp2.

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=359608

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |ImageEditor-FileIO
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.